Skip to content

Pass context to kube.Exec and similar functions. #25703 #144

Pass context to kube.Exec and similar functions. #25703

Pass context to kube.Exec and similar functions. #25703 #144

Triggered via pull request May 9, 2024 19:48
Status Failure
Total duration 1m 40s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 2 warnings
Build: pkg/csi/snapshot_restore_steps_test.go#L952
cannot use f.validatorOps (variable of type *mocks.MockDataValidator) as DataValidator value in struct literal: *mocks.MockDataValidator does not implement DataValidator (wrong type for method FetchPodData)
Build: pkg/fio/fio_test.go#L834
cannot use tc.executor (variable of type *fakeKubeExecutor) as kubeExecInterface value in struct literal: *fakeKubeExecutor does not implement kubeExecInterface (wrong type for method exec)
Build
Process completed with exit code 1.
Lint: pkg/csi/csi.go#L1
: # github.com/kastenhq/kubestr/pkg/csi [github.com/kastenhq/kubestr/pkg/csi.test]
Lint: pkg/csi/snapshot_restore_steps_test.go#L952
cannot use f.validatorOps (variable of type *mocks.MockDataValidator) as DataValidator value in struct literal: *mocks.MockDataValidator does not implement DataValidator (wrong type for method FetchPodData)
Lint: pkg/fio/fio.go#L1
: # github.com/kastenhq/kubestr/pkg/fio [github.com/kastenhq/kubestr/pkg/fio.test]
Lint: pkg/fio/fio_test.go#L834
cannot use tc.executor (variable of type *fakeKubeExecutor) as kubeExecInterface value in struct literal: *fakeKubeExecutor does not implement kubeExecInterface (wrong type for method exec)
Lint
issues found
Lint
Unexpected input(s) 'skip-pkg-cache', valid inputs are ['version', 'install-mode', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-save-cache', 'annotations', 'args', 'cache-invalidation-interval']
Lint
Unexpected input(s) 'skip-pkg-cache', valid inputs are ['version', 'install-mode', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-save-cache', 'annotations', 'args', 'cache-invalidation-interval']