Skip to content

Infrastructure Manager creates secrets when a new Gardener Cluster CR is created. #23

Infrastructure Manager creates secrets when a new Gardener Cluster CR is created.

Infrastructure Manager creates secrets when a new Gardener Cluster CR is created. #23

Triggered via pull request September 18, 2023 13:39
Status Failure
Total duration 37s
Artifacts

golangci-lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint: cmd/main.go#L21
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
lint: internal/controller/gardener_cluster_controller.go#L22
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
lint: internal/controller/gardener_cluster_controller.go#L31
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
lint: internal/controller/gardener_cluster_controller.go#L53
internal/controller/gardener_cluster_controller.go:53: Line contains TODO/BUG/FIXME: "TODO:" (godox)
lint: internal/controller/gardener_cluster_controller.go#L129
return both the `nil` error and invalid value: use a sentinel error instead (nilnil)
lint: internal/controller/gardener_cluster_controller_test.go#L4
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
lint: internal/controller/gardener_cluster_controller_test.go#L11
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
lint: internal/controller/suite_test.go#L44
suiteCtx is a global variable (gochecknoglobals)
lint: internal/controller/suite_test.go#L45
cancelSuiteCtx is a global variable (gochecknoglobals)
lint: internal/gardener/KubeConfigProvider.go#L6
unused-parameter: parameter 'shootName' seems to be unused, consider removing or renaming it as _ (revive)
lint: internal/controller/gardener_cluster_controller.go#L133
errorf: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (revive)