Skip to content

Automated fix for refs/heads/snyk-fix-b2edc3c89395be7f195d80b60a541324 #161

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: snyk-fix-b2edc3c89395be7f195d80b60a541324
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions src/compiler/php_generator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,10 @@ void PrintService(const ServiceDescriptor* service,
map<grpc::string, grpc::string> response_vars;
for (int i = 0; i < service->method_count(); i++) {
const Descriptor* output_type = service->method(i)->output_type();
response_vars["method_name"] = grpc_generator::LowercaseFirstLetter(service->method(i)->name());
response_vars["output_type_id"] = MessageIdentifierName(GeneratedClassName(output_type), output_type->file());
response_vars["method_name"] =
grpc_generator::LowercaseFirstLetter(service->method(i)->name());
response_vars["output_type_id"] = MessageIdentifierName(
GeneratedClassName(output_type), output_type->file());
out->Print(response_vars, "'$method_name$' => '\\$output_type_id$',\n");
}
out->Outdent();
Expand Down
2 changes: 1 addition & 1 deletion tools/dockerfile/interoptest/grpc_interop_go/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM golang:1.16
FROM golang:1.18.8

# Using login shell removes Go from path, so we add it.
RUN ln -s /usr/local/go/bin/go /usr/local/bin
Expand Down