Skip to content

Fix taking a crd that is not yet installed #984

Fix taking a crd that is not yet installed

Fix taking a crd that is not yet installed #984

Triggered via pull request March 18, 2024 11:14
Status Failure
Total duration 2m 14s
Artifacts

lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Run linter: pkg/app/webhook.go#L7
could not import github.com/flant/shell-operator/pkg/webhook/conversion (-: # github.com/flant/shell-operator/pkg/webhook/conversion
Run linter: pkg/webhook/conversion/crd_client_config.go#L63
cannot use &crd (value of type **"k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1".CustomResourceDefinition) as *"k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1".CustomResourceDefinition value in argument to client.ApiExt().CustomResourceDefinitions().Update) (typecheck)
Run linter: pkg/hook/binding_context/binding_context.go#L17
undefined: BindingType (typecheck)
Run linter: pkg/hook/binding_context/binding_context.go#L38
undefined: OnKubernetesEvent (typecheck)
Run linter: pkg/hook/binding_context/binding_context.go#L61
undefined: OnStartup (typecheck)
Run linter: pkg/hook/binding_context/binding_context.go#L75
undefined: KubernetesValidating (typecheck)
Run linter: pkg/hook/binding_context/binding_context.go#L81
undefined: KubernetesMutating (typecheck)
Run linter: pkg/hook/binding_context/binding_context.go#L87
undefined: KubernetesConversion (typecheck)
Run linter: pkg/hook/binding_context/binding_context.go#L102
undefined: Schedule (typecheck)
Run linter: pkg/hook/binding_context/binding_context.go#L108
undefined: OnKubernetesEvent (typecheck)
Run linter
Restore cache failed: Dependencies file is not found in /home/runner/work/shell-operator/shell-operator. Supported file pattern: go.sum