Skip to content

🌱 remove deprecated code #2107

🌱 remove deprecated code

🌱 remove deprecated code #2107

Triggered via pull request December 19, 2023 21:46
Status Failure
Total duration 4m 20s
Artifacts

pr-golangci-lint.yaml

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

Annotations

25 errors
lint (hack/tools): hack/tools/internal/tilt-prepare/main.go#L53
could not import sigs.k8s.io/cluster-api/cmd/clusterctl/client/cluster (-: # sigs.k8s.io/cluster-api/cmd/clusterctl/client/cluster
lint (hack/tools)
undefined: certManagerVersionAnnotation) (typecheck)
lint (hack/tools): hack/tools/internal/tilt-prepare/main.go#L53
could not import sigs.k8s.io/cluster-api/cmd/clusterctl/client/cluster (-: # sigs.k8s.io/cluster-api/cmd/clusterctl/client/cluster
lint (hack/tools)
undefined: certManagerVersionAnnotation) (typecheck)
lint (hack/tools)
issues found
lint (test): test/framework/finalizers_helpers.go#L32
could not import sigs.k8s.io/cluster-api/cmd/clusterctl/client/cluster (-: # sigs.k8s.io/cluster-api/cmd/clusterctl/client/cluster
lint (test)
undefined: certManagerVersionAnnotation) (typecheck)
lint (test): test/e2e/cluster_upgrade.go#L181
cannot infer T (/home/runner/go/pkg/mod/k8s.io/[email protected]/ptr/ptr.go:50:9) (typecheck)
lint (test): test/e2e/cluster_upgrade.go#L185
cannot infer T (/home/runner/go/pkg/mod/k8s.io/[email protected]/ptr/ptr.go:50:9) (typecheck)
lint (test): test/e2e/self_hosted.go#L337
cannot infer T (/home/runner/go/pkg/mod/k8s.io/[email protected]/ptr/ptr.go:50:9) (typecheck)
lint (test): test/e2e/self_hosted.go#L341
cannot infer T (/home/runner/go/pkg/mod/k8s.io/[email protected]/ptr/ptr.go:50:9) (typecheck)
lint (test): test/framework/finalizers_helpers.go#L32
could not import sigs.k8s.io/cluster-api/cmd/clusterctl/client/cluster (-: # sigs.k8s.io/cluster-api/cmd/clusterctl/client/cluster
lint (test)
undefined: certManagerVersionAnnotation) (typecheck)
lint (test): test/e2e/cluster_upgrade.go#L181
cannot infer T (/home/runner/go/pkg/mod/k8s.io/[email protected]/ptr/ptr.go:50:9) (typecheck)
lint (test): test/e2e/cluster_upgrade.go#L185
cannot infer T (/home/runner/go/pkg/mod/k8s.io/[email protected]/ptr/ptr.go:50:9) (typecheck)
lint: cmd/clusterctl/client/alias.go#L20
could not import sigs.k8s.io/cluster-api/cmd/clusterctl/client/cluster (-: # sigs.k8s.io/cluster-api/cmd/clusterctl/client/cluster
lint: cmd/clusterctl/client/cluster/cert_manager.go#L345
undefined: certManagerVersionAnnotation) (typecheck)
lint: cmd/clusterctl/client/alpha/kubeadmcontrolplane.go#L28
could not import sigs.k8s.io/cluster-api/cmd/clusterctl/client/cluster (-: # sigs.k8s.io/cluster-api/cmd/clusterctl/client/cluster
lint: cmd/clusterctl/client/cluster/cert_manager.go#L345
undefined: certManagerVersionAnnotation) (typecheck)
lint: cmd/clusterctl/client/cluster/cert_manager.go#L345
undefined: certManagerVersionAnnotation (typecheck)
lint: cmd/clusterctl/cmd/completion.go#L31
could not import sigs.k8s.io/cluster-api/cmd/clusterctl/client/cluster (-: # sigs.k8s.io/cluster-api/cmd/clusterctl/client/cluster
lint: cmd/clusterctl/client/cluster/cert_manager.go#L345
undefined: certManagerVersionAnnotation) (typecheck)
lint: cmd/clusterctl/cmd/util.go#L77
cannot infer T (/home/runner/go/pkg/mod/k8s.io/[email protected]/ptr/ptr.go:50:9) (typecheck)
lint: cmd/clusterctl/cmd/util.go#L81
cannot infer T (/home/runner/go/pkg/mod/k8s.io/[email protected]/ptr/ptr.go:50:9) (typecheck)
lint: cmd/clusterctl/cmd/util.go#L110
cannot infer T (/home/runner/go/pkg/mod/k8s.io/[email protected]/ptr/ptr.go:50:9) (typecheck)