🌱 Bump golangci-lint v2 #8247
Annotations
30 errors
lint:
cmd/clusterctl/internal/test/fake_objects.go#L573
exported: exported function NewBootstrapConfigTemplate should have comment or be unexported (revive)
|
lint:
cmd/clusterctl/internal/test/fake_objects.go#L584
exported: exported function NewBootstrapConfig should have comment or be unexported (revive)
|
lint:
api/addons/v1beta1/conversion.go#L103
SA1019: out.Deprecated.V1Beta1.Conditions is deprecated: This field is deprecated and is going to be removed when support for v1beta1 will be dropped. Please see https://github.com/kubernetes-sigs/cluster-api/blob/main/docs/proposals/20240916-improve-status-in-CAPI-resources.md for more details. (staticcheck)
|
lint:
api/v1beta1/conversion.go#L152
SA1019: out.Deprecated.V1Beta1.Conditions is deprecated: This field is deprecated and is going to be removed when support for v1beta1 will be dropped. Please see https://github.com/kubernetes-sigs/cluster-api/blob/main/docs/proposals/20240916-improve-status-in-CAPI-resources.md for more details. (staticcheck)
|
lint:
api/v1beta1/conversion.go#L246
SA1019: out.Deprecated.V1Beta1.Conditions is deprecated: This field is deprecated and is going to be removed when support for v1beta1 will be dropped. Please see https://github.com/kubernetes-sigs/cluster-api/blob/main/docs/proposals/20240916-improve-status-in-CAPI-resources.md for more details. (staticcheck)
|
lint:
api/v1beta1/conversion.go#L248
SA1019: out.Deprecated.V1Beta1.FailureReason is deprecated: This field is deprecated and is going to be removed when support for v1beta1 will be dropped. Please see https://github.com/kubernetes-sigs/cluster-api/blob/main/docs/proposals/20240916-improve-status-in-CAPI-resources.md for more details. (staticcheck)
|
lint:
api/v1beta1/conversion.go#L249
SA1019: out.Deprecated.V1Beta1.FailureMessage is deprecated: This field is deprecated and is going to be removed when support for v1beta1 will be dropped. Please see https://github.com/kubernetes-sigs/cluster-api/blob/main/docs/proposals/20240916-improve-status-in-CAPI-resources.md for more details. (staticcheck)
|
lint:
api/v1beta1/conversion.go#L320
SA1019: out.Deprecated.V1Beta1.Conditions is deprecated: This field is deprecated and is going to be removed when support for v1beta1 will be dropped. Please see https://github.com/kubernetes-sigs/cluster-api/blob/main/docs/proposals/20240916-improve-status-in-CAPI-resources.md for more details. (staticcheck)
|
lint:
api/v1beta1/conversion.go#L322
SA1019: out.Deprecated.V1Beta1.AvailableReplicas is deprecated: This field is deprecated and is going to be removed when support for v1beta1 will be dropped. Please see https://github.com/kubernetes-sigs/cluster-api/blob/main/docs/proposals/20240916-improve-status-in-CAPI-resources.md for more details. (staticcheck)
|
lint:
api/v1beta1/conversion.go#L323
SA1019: out.Deprecated.V1Beta1.UnavailableReplicas is deprecated: This field is deprecated and is going to be removed when support for v1beta1 will be dropped. Please see https://github.com/kubernetes-sigs/cluster-api/blob/main/docs/proposals/20240916-improve-status-in-CAPI-resources.md for more details. (staticcheck)
|
lint (hack/tools):
cmd/clusterctl/internal/test/fake_objects.go#L573
exported: exported function NewBootstrapConfigTemplate should have comment or be unexported (revive)
|
lint (hack/tools):
cmd/clusterctl/internal/test/fake_objects.go#L584
exported: exported function NewBootstrapConfig should have comment or be unexported (revive)
|
lint (hack/tools):
api/addons/v1beta1/conversion.go#L103
SA1019: out.Deprecated.V1Beta1.Conditions is deprecated: This field is deprecated and is going to be removed when support for v1beta1 will be dropped. Please see https://github.com/kubernetes-sigs/cluster-api/blob/main/docs/proposals/20240916-improve-status-in-CAPI-resources.md for more details. (staticcheck)
|
lint (hack/tools):
api/v1beta1/conversion.go#L152
SA1019: out.Deprecated.V1Beta1.Conditions is deprecated: This field is deprecated and is going to be removed when support for v1beta1 will be dropped. Please see https://github.com/kubernetes-sigs/cluster-api/blob/main/docs/proposals/20240916-improve-status-in-CAPI-resources.md for more details. (staticcheck)
|
lint (hack/tools):
api/v1beta1/conversion.go#L246
SA1019: out.Deprecated.V1Beta1.Conditions is deprecated: This field is deprecated and is going to be removed when support for v1beta1 will be dropped. Please see https://github.com/kubernetes-sigs/cluster-api/blob/main/docs/proposals/20240916-improve-status-in-CAPI-resources.md for more details. (staticcheck)
|
lint (hack/tools):
api/v1beta1/conversion.go#L248
SA1019: out.Deprecated.V1Beta1.FailureReason is deprecated: This field is deprecated and is going to be removed when support for v1beta1 will be dropped. Please see https://github.com/kubernetes-sigs/cluster-api/blob/main/docs/proposals/20240916-improve-status-in-CAPI-resources.md for more details. (staticcheck)
|
lint (hack/tools):
api/v1beta1/conversion.go#L249
SA1019: out.Deprecated.V1Beta1.FailureMessage is deprecated: This field is deprecated and is going to be removed when support for v1beta1 will be dropped. Please see https://github.com/kubernetes-sigs/cluster-api/blob/main/docs/proposals/20240916-improve-status-in-CAPI-resources.md for more details. (staticcheck)
|
lint (hack/tools):
api/v1beta1/conversion.go#L320
SA1019: out.Deprecated.V1Beta1.Conditions is deprecated: This field is deprecated and is going to be removed when support for v1beta1 will be dropped. Please see https://github.com/kubernetes-sigs/cluster-api/blob/main/docs/proposals/20240916-improve-status-in-CAPI-resources.md for more details. (staticcheck)
|
lint (hack/tools):
api/v1beta1/conversion.go#L322
SA1019: out.Deprecated.V1Beta1.AvailableReplicas is deprecated: This field is deprecated and is going to be removed when support for v1beta1 will be dropped. Please see https://github.com/kubernetes-sigs/cluster-api/blob/main/docs/proposals/20240916-improve-status-in-CAPI-resources.md for more details. (staticcheck)
|
lint (hack/tools):
api/v1beta1/conversion.go#L323
SA1019: out.Deprecated.V1Beta1.UnavailableReplicas is deprecated: This field is deprecated and is going to be removed when support for v1beta1 will be dropped. Please see https://github.com/kubernetes-sigs/cluster-api/blob/main/docs/proposals/20240916-improve-status-in-CAPI-resources.md for more details. (staticcheck)
|
lint (test):
cmd/clusterctl/internal/test/fake_objects.go#L573
exported: exported function NewBootstrapConfigTemplate should have comment or be unexported (revive)
|
lint (test):
cmd/clusterctl/internal/test/fake_objects.go#L584
exported: exported function NewBootstrapConfig should have comment or be unexported (revive)
|
lint (test):
api/addons/v1beta1/conversion.go#L103
SA1019: out.Deprecated.V1Beta1.Conditions is deprecated: This field is deprecated and is going to be removed when support for v1beta1 will be dropped. Please see https://github.com/kubernetes-sigs/cluster-api/blob/main/docs/proposals/20240916-improve-status-in-CAPI-resources.md for more details. (staticcheck)
|
lint (test):
api/v1beta1/conversion.go#L152
SA1019: out.Deprecated.V1Beta1.Conditions is deprecated: This field is deprecated and is going to be removed when support for v1beta1 will be dropped. Please see https://github.com/kubernetes-sigs/cluster-api/blob/main/docs/proposals/20240916-improve-status-in-CAPI-resources.md for more details. (staticcheck)
|
lint (test):
api/v1beta1/conversion.go#L246
SA1019: out.Deprecated.V1Beta1.Conditions is deprecated: This field is deprecated and is going to be removed when support for v1beta1 will be dropped. Please see https://github.com/kubernetes-sigs/cluster-api/blob/main/docs/proposals/20240916-improve-status-in-CAPI-resources.md for more details. (staticcheck)
|
lint (test):
api/v1beta1/conversion.go#L248
SA1019: out.Deprecated.V1Beta1.FailureReason is deprecated: This field is deprecated and is going to be removed when support for v1beta1 will be dropped. Please see https://github.com/kubernetes-sigs/cluster-api/blob/main/docs/proposals/20240916-improve-status-in-CAPI-resources.md for more details. (staticcheck)
|
lint (test):
api/v1beta1/conversion.go#L249
SA1019: out.Deprecated.V1Beta1.FailureMessage is deprecated: This field is deprecated and is going to be removed when support for v1beta1 will be dropped. Please see https://github.com/kubernetes-sigs/cluster-api/blob/main/docs/proposals/20240916-improve-status-in-CAPI-resources.md for more details. (staticcheck)
|
lint (test):
api/v1beta1/conversion.go#L320
SA1019: out.Deprecated.V1Beta1.Conditions is deprecated: This field is deprecated and is going to be removed when support for v1beta1 will be dropped. Please see https://github.com/kubernetes-sigs/cluster-api/blob/main/docs/proposals/20240916-improve-status-in-CAPI-resources.md for more details. (staticcheck)
|
lint (test):
api/v1beta1/conversion.go#L322
SA1019: out.Deprecated.V1Beta1.AvailableReplicas is deprecated: This field is deprecated and is going to be removed when support for v1beta1 will be dropped. Please see https://github.com/kubernetes-sigs/cluster-api/blob/main/docs/proposals/20240916-improve-status-in-CAPI-resources.md for more details. (staticcheck)
|
lint (test):
api/v1beta1/conversion.go#L323
SA1019: out.Deprecated.V1Beta1.UnavailableReplicas is deprecated: This field is deprecated and is going to be removed when support for v1beta1 will be dropped. Please see https://github.com/kubernetes-sigs/cluster-api/blob/main/docs/proposals/20240916-improve-status-in-CAPI-resources.md for more details. (staticcheck)
|