fix: skip transient grpc errors in pktmon #4854
Annotations
7 errors and 1 warning
golangci-lint:
pkg/plugin/pktmon/pktmon_windows_test.go#L43
Error return value of `log.SetupZapLogger` is not checked (errcheck)
|
golangci-lint:
pkg/plugin/pktmon/pktmon_windows_test.go#L27
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
pkg/plugin/pktmon/pktmon_grpc_windows.go#L117
error-strings: error strings should not be capitalized or end with punctuation or a newline (revive)
|
golangci-lint:
pkg/plugin/pktmon/pktmon_grpc_windows.go#L34
exported: type name will be used as pktmon.PktmonGRPCManager by other packages, and that stutters; consider calling this GRPCManager (revive)
|
golangci-lint:
pkg/plugin/pktmon/pktmon_grpc_windows.go#L115
SA1019: grpc.Dial is deprecated: use NewClient instead. Will be supported throughout 1.x. (staticcheck)
|
golangci-lint:
pkg/plugin/pktmon/pktmon_grpc_windows.go#L89
error returned from interface method should be wrapped: sig: func (github.com/cilium/cilium/api/v1/observer.Observer_GetFlowsClient).Recv() (*github.com/cilium/cilium/api/v1/observer.GetFlowsResponse, error) (wrapcheck)
|
golangci-lint
issues found
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading