Skip to content

Feature capkk controller #1123

Feature capkk controller

Feature capkk controller #1123

Triggered via pull request October 10, 2024 06:31
Status Failure
Total duration 2m 22s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 3 warnings
lint: pkg/manager/controller_manager.go#L94
(&capkkv1beta1.KKCluster{}).SetupWebhookWithManager undefined (type *"github.com/kubesphere/kubekey/v4/pkg/apis/capkk/v1beta1".KKCluster has no field or method SetupWebhookWithManager)
lint: pkg/manager/controller_manager.go#L100
(&capkkv1beta1.KKMachine{}).SetupWebhookWithManager undefined (type *"github.com/kubesphere/kubekey/v4/pkg/apis/capkk/v1beta1".KKMachine has no field or method SetupWebhookWithManager) (typecheck)
lint: cmd/controller-manager/app/server.go#L28
could not import github.com/kubesphere/kubekey/v4/pkg/manager (-: # github.com/kubesphere/kubekey/v4/pkg/manager
lint: pkg/manager/controller_manager.go#L94
(&capkkv1beta1.KKCluster{}).SetupWebhookWithManager undefined (type *"github.com/kubesphere/kubekey/v4/pkg/apis/capkk/v1beta1".KKCluster has no field or method SetupWebhookWithManager)
lint: pkg/manager/controller_manager.go#L100
(&capkkv1beta1.KKMachine{}).SetupWebhookWithManager undefined (type *"github.com/kubesphere/kubekey/v4/pkg/apis/capkk/v1beta1".KKMachine has no field or method SetupWebhookWithManager)) (typecheck)
lint: cmd/kk/app/pipeline.go#L15
could not import github.com/kubesphere/kubekey/v4/pkg/manager (-: # github.com/kubesphere/kubekey/v4/pkg/manager
lint: pkg/manager/controller_manager.go#L94
(&capkkv1beta1.KKCluster{}).SetupWebhookWithManager undefined (type *"github.com/kubesphere/kubekey/v4/pkg/apis/capkk/v1beta1".KKCluster has no field or method SetupWebhookWithManager)
lint: pkg/manager/controller_manager.go#L100
(&capkkv1beta1.KKMachine{}).SetupWebhookWithManager undefined (type *"github.com/kubesphere/kubekey/v4/pkg/apis/capkk/v1beta1".KKMachine has no field or method SetupWebhookWithManager)) (typecheck)
lint
issues found
test: pkg/manager/controller_manager.go#L94
(&capkkv1beta1.KKCluster{}).SetupWebhookWithManager undefined (type *"github.com/kubesphere/kubekey/v4/pkg/apis/capkk/v1beta1".KKCluster has no field or method SetupWebhookWithManager)
test: pkg/manager/controller_manager.go#L100
(&capkkv1beta1.KKMachine{}).SetupWebhookWithManager undefined (type *"github.com/kubesphere/kubekey/v4/pkg/apis/capkk/v1beta1".KKMachine has no field or method SetupWebhookWithManager)
test
Process completed with exit code 2.
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
verify
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/