Skip to content

Remove dependence on io/ioutil, update Go to 1.21 #3

Remove dependence on io/ioutil, update Go to 1.21

Remove dependence on io/ioutil, update Go to 1.21 #3

Re-run triggered August 22, 2023 19:10
Status Failure
Total duration 1m 39s
Artifacts

linters.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
golangci-lint: cmd/metrics-powerflex/main.go#L22
File is not `gofumpt`-ed (gofumpt)
golangci-lint: cmd/metrics-powerflex/main.go#L37
File is not `gofumpt`-ed (gofumpt)
golangci-lint: cmd/metrics-powerflex/main.go#L50
File is not `gofumpt`-ed (gofumpt)
golangci-lint: cmd/metrics-powerflex/main.go#L191
File is not `gofumpt`-ed (gofumpt)
golangci-lint: internal/entrypoint/run.go#L51
File is not `gofumpt`-ed (gofumpt)
golangci-lint: internal/entrypoint/run.go#L119
File is not `gofumpt`-ed (gofumpt)
golangci-lint: internal/entrypoint/run.go#L251
File is not `gofumpt`-ed (gofumpt)
golangci-lint: internal/entrypoint/run_test.go#L47
File is not `gofumpt`-ed (gofumpt)
golangci-lint: internal/k8s/k8sapi_test.go#L62
File is not `gofumpt`-ed (gofumpt)
golangci-lint: internal/k8s/k8sapi_test.go#L121
File is not `gofumpt`-ed (gofumpt)
golangci-lint: internal/entrypoint/run.go#L53
var-declaration: should omit type func(*Config) error from declaration of var ConfigValidatorFunc; it will be inferred from the right-hand side (revive)
golangci-lint: internal/service/metrics.go#L119
unused-parameter: parameter 'labels' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: internal/service/service.go#L137
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: internal/service/service.go#L234
empty-block: this block is empty, you can remove it (revive)
golangci-lint: internal/service/service.go#L251
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: internal/service/service.go#L368
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: internal/service/service.go#L405
empty-block: this block is empty, you can remove it (revive)
golangci-lint: internal/service/service.go#L423
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: internal/service/service.go#L541
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: internal/service/service.go#L646
empty-block: this block is empty, you can remove it (revive)