Skip to content

Refactor writers (multi-thread + enveloped k8s type_ #826

Refactor writers (multi-thread + enveloped k8s type_

Refactor writers (multi-thread + enveloped k8s type_ #826

Triggered via pull request March 15, 2024 18:47
Status Failure
Total duration 1m 46s
Artifacts

linter.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
linter: pkg/telemetry/log/logger.go#L85
tk declared and not used (typecheck)
linter: pkg/telemetry/log/logger.go#L113
baseLogger.WithFields undefined (type *KubehoundLogger has no field or method WithFields) (typecheck)
linter: pkg/kubehound/services/dependency.go#L22
undefined: multierror (typecheck)
linter: pkg/kubehound/services/dependency.go#L27
undefined: multierror (typecheck)
linter: pkg/kubehound/services/dependency.go#L33
undefined: multierror (typecheck)
linter: pkg/collector/mockcollector/collector_client.go#L28
_m.Called undefined (type *CollectorClient has no field or method Called) (typecheck)
linter: pkg/collector/mockcollector/collector_client.go#L70
_m.Called undefined (type *CollectorClient has no field or method Called) (typecheck)
linter: pkg/collector/mockcollector/collector_client.go#L124
_m.Called undefined (type *CollectorClient has no field or method Called) (typecheck)
linter: pkg/collector/mockcollector/collector_client.go#L570
mock.AssertExpectations undefined (type *CollectorClient has no field or method AssertExpectations) (typecheck)
linter: pkg/collector/mockingest/cluster_role_binding_ingestor.go#L27
_m.Called undefined (type *ClusterRoleBindingIngestor has no field or method Called) (typecheck)
linter
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09, actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe, actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab, golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
linter
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeHound/KubeHound. Supported file pattern: go.sum