Testing #29
Annotations
10 errors
tests (vet, 1.22):
profiling/cmd/remote.go#L95
if block ends with a return statement, so drop this else and outdent its block https://revive.run/r#indent-error-flow
|
tests (vet, 1.22):
internal/testutils/stats/test_metrics_recorder.go#L46
exported function NewTestMetricsRecorder should have comment or be unexported https://revive.run/r#exported
|
tests (vet, 1.22):
xds/internal/httpfilter/rbac/rbac.go#L144
redefinition of the built-in type any https://revive.run/r#redefines-builtin-id
|
tests (vet, 1.22):
internal/testutils/stats/test_metrics_recorder.go#L58
exported type MetricsData should have comment or be unexported https://revive.run/r#exported
|
tests (vet, 1.22):
examples/features/flow_control/server/main.go#L38
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):
internal/channelz/trace.go#L82
exported type ChannelTrace should have comment or be unexported https://revive.run/r#exported
|
tests (vet, 1.22):
internal/channelz/server.go#L62
exported method ServerMetrics.CopyFrom should have comment or be unexported https://revive.run/r#exported
|
tests (vet, 1.22):
internal/channelz/channel.go#L64
exported method Channel.SubChans should have comment or be unexported https://revive.run/r#exported
|
tests (vet, 1.22):
internal/channelz/subchannel.go#L50
exported method SubChannel.Sockets should have comment or be unexported https://revive.run/r#exported
|
tests (vet, 1.22):
internal/channelz/funcs.go#L36
should omit type *channelMap from declaration of var db; it will be inferred from the right-hand side https://revive.run/r#var-declaration
|