cherry-pick #7660 to v1.66.x branch #12000
Annotations
11 errors
tests (vet, 1.22):
xds/internal/httpfilter/router/router.go#L57
redefinition of the built-in type any https://revive.run/r#redefines-builtin-id
|
tests (vet, 1.22):
reflection/test/grpc_testing_not_regenerate/testv3.go#L382
context.Context should be the first parameter of a function https://revive.run/r#context-as-argument
|
tests (vet, 1.22):
xds/internal/clusterspecifier/rls/rls.go#L68
redefinition of the built-in type any https://revive.run/r#redefines-builtin-id
|
tests (vet, 1.22):
status/status_test.go#L454
redefinition of the built-in type any https://revive.run/r#redefines-builtin-id
|
tests (vet, 1.22):
reflection/test/grpc_testing_not_regenerate/dynamic.go#L18
don't use an underscore in package name https://revive.run/r#var-naming
|
tests (vet, 1.22):
examples/features/flow_control/client/main.go#L37
should omit type string from declaration of var payload; it will be inferred from the right-hand side https://revive.run/r#var-declaration
|
tests (vet, 1.22):
examples/features/opentelemetry/client/main.go#L19
should have a package comment https://revive.run/r#package-comments
|
tests (vet, 1.22):
internal/balancer/gracefulswitch/config.go#L59
this block is empty, you can remove it https://revive.run/r#empty-block
|
tests (vet, 1.22):
internal/balancer/gracefulswitch/config.go#L36
exported function ChildName should have comment or be unexported https://revive.run/r#exported
|
tests (vet, 1.22):
examples/features/opentelemetry/server/main.go#L19
should have a package comment https://revive.run/r#package-comments
|
vet-proto
Process completed with exit code 1.
|