Skip to content

Commit

Permalink
chore(logspam): allow_repeated_fields_in_body is deprecated (#3040)
Browse files Browse the repository at this point in the history
This flag causes logspam due to 672f079

It seems that change just neglected to remove the explicit flag settings for Bazel users.
  • Loading branch information
alexeagle committed Dec 4, 2022
1 parent eabc8b6 commit 16b1adb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
5 changes: 1 addition & 4 deletions protoc-gen-grpc-gateway/BUILD.bazel
Expand Up @@ -24,10 +24,7 @@ go_binary(

go_proto_compiler(
name = "go_gen_grpc_gateway",
options = [
"logtostderr=true",
"allow_repeated_fields_in_body=true",
],
options = ["logtostderr=true"],
plugin = ":protoc-gen-grpc-gateway",
suffix = ".pb.gw.go",
visibility = ["//visibility:public"],
Expand Down
1 change: 0 additions & 1 deletion protoc-gen-openapiv2/defs.bzl
Expand Up @@ -75,7 +75,6 @@ def _run_proto_gen_openapi(
args.add("--plugin", "protoc-gen-openapiv2=%s" % protoc_gen_openapiv2.path)

args.add("--openapiv2_opt", "logtostderr=true")
args.add("--openapiv2_opt", "allow_repeated_fields_in_body=true")

extra_inputs = []
if grpc_api_configuration:
Expand Down

0 comments on commit 16b1adb

Please sign in to comment.