Skip to content

chore: (k8s) return explicit error in case of insufficient access #1314

chore: (k8s) return explicit error in case of insufficient access

chore: (k8s) return explicit error in case of insufficient access #1314

Triggered via pull request June 22, 2024 09:11
Status Failure
Total duration 6m 13s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 2 warnings
lint: cmd/root.go#L15
could not import github.com/flanksource/config-db/scrapers/kubernetes (-: # github.com/flanksource/config-db/scrapers/kubernetes
lint: scrapers/kubernetes/kubernetes.go#L161
undefined: ketallClient.ErrEmpty) (typecheck)
lint: scrapers/common.go#L14
could not import github.com/flanksource/config-db/scrapers/kubernetes (-: # github.com/flanksource/config-db/scrapers/kubernetes
lint: scrapers/kubernetes/kubernetes.go#L161
undefined: ketallClient.ErrEmpty) (typecheck)
lint: scrapers/kubernetes/events.go#L1
: # github.com/flanksource/config-db/scrapers/kubernetes [github.com/flanksource/config-db/scrapers/kubernetes.test]
lint: scrapers/kubernetes/kubernetes.go#L161
undefined: ketallClient.ErrEmpty (typecheck)
lint
issues found
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5, actions/setup-go@bfdd3570ce990073878bf10f6b2d79082de49492, golangci/golangci-lint-action@08e2f20817b15149a52b5b3ebe7de50aff2ba8c5. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5, actions/setup-go@bfdd3570ce990073878bf10f6b2d79082de49492. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/