Skip to content

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

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

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

Triggered via pull request September 18, 2023 12:46
Status Failure
Total duration 24s
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: cmd/main.go#L25
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#L53
internal/controller/gardener_cluster_controller.go:53: Line contains TODO/BUG/FIXME: "TODO:" (godox)
lint: internal/controller/gardener_cluster_controller.go#L125
internal/controller/gardener_cluster_controller.go:125: Line contains TODO/BUG/FIXME: "TODO: how this context is used" (godox)
lint: internal/controller/gardener_cluster_controller.go#L133
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/controller/gardener_cluster_controller.go#L137
errorf: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (revive)