Skip to content

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

Remove dependence on io/ioutil, update Go to 1.21

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

Triggered via pull request August 23, 2023 13:02
Status Failure
Total duration 2m 8s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

linters.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
golangci-lint: cmd/metrics-powerscale/main.go#L21
File is not `gofumpt`-ed (gofumpt)
golangci-lint: cmd/metrics-powerscale/main.go#L34
File is not `gofumpt`-ed (gofumpt)
golangci-lint: cmd/metrics-powerscale/main.go#L50
File is not `gofumpt`-ed (gofumpt)
golangci-lint: cmd/metrics-powerscale/main.go#L162
File is not `gofumpt`-ed (gofumpt)
golangci-lint: cmd/metrics-powerscale/main.go#L175
File is not `gofumpt`-ed (gofumpt)
golangci-lint: internal/common/common.go#L149
File is not `gofumpt`-ed (gofumpt)
golangci-lint: internal/common/common_test.go#L35
File is not `gofumpt`-ed (gofumpt)
golangci-lint: internal/common/common_test.go#L76
G306: Expect WriteFile permissions to be 0600 or less (gosec)
golangci-lint: internal/common/common_test.go#L76
File is not `gofumpt`-ed (gofumpt)
golangci-lint: internal/common/common_test.go#L89
G306: Expect WriteFile permissions to be 0600 or less (gosec)
golangci-lint: internal/entrypoint/run.go#L47
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/k8s/storageclass_finder.go#L48
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: internal/k8s/volume_finder.go#L59
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: internal/service/service.go#L164
empty-block: this block is empty, you can remove it (revive)
golangci-lint: internal/service/service.go#L171
empty-block: this block is empty, you can remove it (revive)
golangci-lint: internal/service/service.go#L208
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: internal/service/service.go#L291
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: internal/service/service.go#L439
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: internal/service/service.go#L447
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: internal/service/service.go#L478
empty-block: this block is empty, you can remove it (revive)