infrastructure manager metrics (2/n) #321
Annotations
8 errors and 6 warnings
golangci-lint:
cmd/main.go#L22
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
|
golangci-lint:
cmd/main.go#L29
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
|
golangci-lint:
internal/controller/gardener_cluster_controller.go#L95
unnecessary leading newline (whitespace)
|
golangci-lint:
internal/controller/metrics/metrics.go#L4
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
|
golangci-lint:
internal/controller/metrics/metrics.go#L41
commentFormatting: put a space between `//` and comment text (gocritic)
|
golangci-lint:
internal/controller/suite_test.go#L21
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
|
golangci-lint:
internal/controller/suite_test.go#L26
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
|
golangci-lint
issues found
|
golangci-lint:
internal/controller/gardener_cluster_controller.go#L155
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
internal/controller/metrics/metrics.go#L11
var-naming: const runtimeIdKeyName should be runtimeIDKeyName (revive)
|
golangci-lint:
internal/controller/metrics/metrics.go#L14
var-naming: const runtimeIdLabel should be runtimeIDLabel (revive)
|
golangci-lint:
internal/controller/metrics/metrics.go#L36
var-naming: var runtimeId should be runtimeID (revive)
|
golangci-lint:
internal/controller/metrics/metrics.go#L47
var-naming: method parameter runtimeId should be runtimeID (revive)
|
golangci-lint:
internal/controller/metrics/metrics.go#L51
var-naming: method parameter runtimeId should be runtimeID (revive)
|
Loading