Skip to content

Logs refactor - migrating to zap #1277

Logs refactor - migrating to zap

Logs refactor - migrating to zap #1277

Triggered via pull request October 15, 2024 20:20
Status Failure
Total duration 8m 12s
Artifacts

linter.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
linter: pkg/telemetry/log/fields.go#L1
: # github.com/DataDog/KubeHound/pkg/telemetry/log
linter: pkg/telemetry/log/formatter.go#L83
undefined: logFormatDD
linter: pkg/telemetry/log/formatter.go#L87
undefined: logFormatJSON (typecheck)
linter: pkg/backend/containers.go#L8
could not import github.com/DataDog/KubeHound/pkg/telemetry/log (-: # github.com/DataDog/KubeHound/pkg/telemetry/log
linter: pkg/telemetry/log/formatter.go#L83
undefined: logFormatDD
linter: pkg/telemetry/log/formatter.go#L87
undefined: logFormatJSON) (typecheck)
linter: pkg/telemetry/profiler/profiler.go#L8
could not import github.com/DataDog/KubeHound/pkg/telemetry/log (-: # github.com/DataDog/KubeHound/pkg/telemetry/log
linter: pkg/telemetry/log/formatter.go#L83
undefined: logFormatDD
linter: pkg/telemetry/log/formatter.go#L87
undefined: logFormatJSON) (typecheck)
linter: pkg/telemetry/statsd/statsd.go#L12
could not import github.com/DataDog/KubeHound/pkg/telemetry/log (-: # github.com/DataDog/KubeHound/pkg/telemetry/log
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