CP-24501: add cloudzero-agent-inpector #207
Annotations
8 errors and 1 warning
lint:
cmd/cloudzero-agent-inspector/cmd.go#L43
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
cmd/cloudzero-agent-inspector/cmd.go#L43
unused-parameter: parameter 'args' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
cmd/cloudzero-agent-inspector/main.go#L47
unused-parameter: parameter 'r' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
cmd/cloudzero-agent-inspector/main.go#L53
G112: Potential Slowloris Attack because ReadHeaderTimeout is not configured in the http.Server (gosec)
|
lint:
pkg/inspector/query.go#L74
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)
|
lint:
pkg/inspector/status_code_inspectors.go#L9
exported: type name will be used as inspector.InspectorFunc by other packages, and that stutters; consider calling this Func (revive)
|
lint:
pkg/inspector/status_code_inspectors.go#L11
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
lint
golangci-lint exit with code 2
|
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|