Skip to content

Check for v1beta1 version in Cluster and KCP object #187

Check for v1beta1 version in Cluster and KCP object

Check for v1beta1 version in Cluster and KCP object #187

Triggered via pull request December 16, 2024 18:00
Status Failure
Total duration 4m 20s
Artifacts

pr-golangci-lint.yaml

on: pull_request
Matrix: lint
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 3 warnings
lint: cmd/clusterctl/client/move_test.go#L288
cannot use &fakeObjectMover{} (value of type *fakeObjectMover) as "sigs.k8s.io/cluster-api/cmd/clusterctl/client/cluster".ObjectMover value in argument to newFakeCluster(cluster.Kubeconfig{…}, config1).WithProviderInventory(core.Name(), core.Type(), "v1.0.0", "cluster-api-system").WithProviderInventory(infra.Name(), infra.Type(), "v2.0.0", "infra-system").WithObjectMover: *fakeObjectMover does not implement "sigs.k8s.io/cluster-api/cmd/clusterctl/client/cluster".ObjectMover (wrong type for method ToDirectory)
lint: cmd/clusterctl/client/cluster/mover_test.go#L756
not enough arguments in call to mover.backupTargetObject
lint: cmd/clusterctl/client/cluster/mover_test.go#L791
not enough arguments in call to mover.backupTargetObject
lint
issues found
lint (hack/tools)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint (test)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636