Fix observability #1294
Annotations
6 errors and 2 warnings
linter:
pkg/ingestor/api/api.go#L211
File is not `gofmt`-ed with `-s` (gofmt)
|
linter:
pkg/ingestor/api/api.go#L161
Non-inherited new context, use function like `context.WithXXX` instead (contextcheck)
|
linter:
pkg/ingestor/api/api.go#L170
Non-inherited new context, use function like `context.WithXXX` instead (contextcheck)
|
linter:
pkg/ingestor/api/api.go#L207
Non-inherited new context, use function like `context.WithXXX` instead (contextcheck)
|
linter:
pkg/telemetry/events/events.go#L45
return with no blank line before (nlreturn)
|
linter
issues found
|
linter
The following actions use a deprecated Node.js version and will be forced to run on node20: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09, actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe, actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab, golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
linter
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeHound/KubeHound. Supported file pattern: go.sum
|