Skip to content

🌱 Use errors package of Go #7426

🌱 Use errors package of Go

🌱 Use errors package of Go #7426

Triggered via pull request February 5, 2025 03:25
Status Failure
Total duration 3m 56s
Artifacts

pr-golangci-lint.yaml

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

Annotations

12 errors
lint (hack/tools)
golangci-lint exit with code 3
lint (test)
golangci-lint exit with code 3
lint: cmd/clusterctl/client/alias.go#L22
could not import sigs.k8s.io/cluster-api/cmd/clusterctl/client/repository (-: # sigs.k8s.io/cluster-api/cmd/clusterctl/client/repository
lint: cmd/clusterctl/client/repository/repository_github.go#L322
undefined: rateLimitError
lint: cmd/clusterctl/client/repository/repository_github.go#L387
undefined: rateLimitError) (typecheck)
lint: cmd/clusterctl/client/generate_provider.go#L32
cannot use nil as Components value in return statement (typecheck)
lint: cmd/clusterctl/client/generate_provider.go#L37
cannot use nil as Components value in return statement (typecheck)
lint: cmd/clusterctl/client/generate_provider.go#L42
cannot use nil as Components value in return statement (typecheck)
lint: cmd/clusterctl/client/generate_provider.go#L51
cannot use nil as Components value in return statement (typecheck)
lint: cmd/clusterctl/client/generate_provider.go#L56
cannot use nil as Components value in return statement (typecheck)
lint: cmd/clusterctl/client/generate_provider.go#L61
cannot use nil as Components value in return statement (typecheck)
lint: cmd/clusterctl/client/generate_provider.go#L65
cannot use nil as Components value in return statement (typecheck)