Skip to content

[WIP] ✨ Add OCI source for provider ConfigMap preparation #2106

[WIP] ✨ Add OCI source for provider ConfigMap preparation

[WIP] ✨ Add OCI source for provider ConfigMap preparation #2106

Triggered via pull request January 16, 2025 10:59
Status Failure
Total duration 1m 3s
Artifacts

golangci-lint.yml

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

Annotations

6 errors and 1 warning
lint: cmd/plugin/cmd/preload.go#L24
import "k8s.io/api/core/v1" imported as "v1" but must be "corev1" according to config (importas)
lint: cmd/plugin/cmd/preload.go#L26
import "sigs.k8s.io/cluster-api-operator/internal/controller" imported without alias but must be with alias "providercontroller" according to config (importas)
lint: cmd/plugin/cmd/init.go#L501
ineffectual assignment to version (ineffassign)
lint: internal/controller/manifests_downloader.go#L104
`if p.provider.GetSpec().FetchConfig != nil && p.provider.GetSpec().FetchConfig.OCI != ""` has complex nested blocks (complexity: 6) (nestif)
lint: internal/controller/manifests_downloader.go#L101
declarations should never be cuddled (wsl)
lint
issues found
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636