Skip to content

Commit

Permalink
Changed gRPC Max Receive Message Length Option Name
Browse files Browse the repository at this point in the history
Changed collector.grpc-max-receive-message-length to
collector.grpc.max-receive-message-length for consistency.

Signed-off-by: Justin Stauffer <[email protected]>
  • Loading branch information
js8080 committed Aug 16, 2021
1 parent ee45f21 commit 26c40f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/collector/app/builder_flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const (
collectorZipkinAllowedHeaders = "collector.zipkin.allowed-headers"
collectorZipkinAllowedOrigins = "collector.zipkin.allowed-origins"
collectorZipkinHTTPHostPort = "collector.zipkin.host-port"
collectorGRPCMaxReceiveMessageLength = "collector.grpc-max-receive-message-length"
collectorGRPCMaxReceiveMessageLength = "collector.grpc.max-receive-message-length"
)

var tlsGRPCFlagsConfig = tlscfg.ServerFlagsConfig{
Expand Down
2 changes: 1 addition & 1 deletion cmd/collector/app/builder_flags_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func TestCollectorOptionsWithFlags_CheckMaxReceiveMessageLength(t *testing.T) {
c := &CollectorOptions{}
v, command := config.Viperize(AddFlags)
command.ParseFlags([]string{
"--collector.grpc-max-receive-message-length=8388608",
"--collector.grpc.max-receive-message-length=8388608",
})
c.InitFromViper(v)

Expand Down

0 comments on commit 26c40f5

Please sign in to comment.