Skip to content

Logs refactor - migrating to zap #1279

Logs refactor - migrating to zap

Logs refactor - migrating to zap #1279

Triggered via pull request October 18, 2024 12:23
Status Failure
Total duration 3m 45s
Artifacts

linter.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
linter: pkg/dump/writer/file_writer.go#L1
: # github.com/DataDog/KubeHound/pkg/dump/writer [github.com/DataDog/KubeHound/pkg/dump/writer.test]
linter: pkg/dump/writer/tar_writer_test.go#L75
not enough arguments in call to puller.ExtractTarGz
linter: pkg/ingestor/puller/puller.go#L1
: # github.com/DataDog/KubeHound/pkg/ingestor/puller [github.com/DataDog/KubeHound/pkg/ingestor/puller.test]
linter: pkg/ingestor/puller/puller_test.go#L135
not enough arguments in call to ExtractTarGz
linter: test/system/vertex.gen.go#L1
: # github.com/DataDog/KubeHound/test/system [github.com/DataDog/KubeHound/test/system.test]
linter: test/system/graph_edge_test.go#L22
not enough arguments in call to config.MustLoadConfig
linter: pkg/telemetry/log/kv.go#L101
Error return value of `enc.buf.Write` is not checked (errcheck)
linter: pkg/telemetry/log/kv.go#L142
Error return value of `enc.buf.Write` is not checked (errcheck)
linter: pkg/telemetry/log/kv.go#L146
Error return value of `enc.buf.Write` is not checked (errcheck)
linter: pkg/telemetry/log/kv.go#L241
Error return value of `clone.buf.Write` is not checked (errcheck)
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