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

Triggered via pull request August 21, 2023 20:22
Status Failure
Total duration 1m 41s
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 6 warnings
golangci-lint: cmd/metrics-powerstore/main.go#L23
File is not `gofumpt`-ed (gofumpt)
golangci-lint: cmd/metrics-powerstore/main.go#L29
G108: Profiling endpoint is automatically exposed on /debug/pprof (gosec)
golangci-lint: cmd/metrics-powerstore/main.go#L38
File is not `gofumpt`-ed (gofumpt)
golangci-lint: cmd/metrics-powerstore/main.go#L58
File is not `gofumpt`-ed (gofumpt)
golangci-lint: cmd/metrics-powerstore/main.go#L199
File is not `gofumpt`-ed (gofumpt)
golangci-lint: internal/common/common_test.go#L30
File is not `gofumpt`-ed (gofumpt)
golangci-lint: internal/common/common_test.go#L32
File is not `gofumpt`-ed (gofumpt)
golangci-lint: internal/common/common_test.go#L52
File is not `gofumpt`-ed (gofumpt)
golangci-lint: internal/common/common_test.go#L73
File is not `gofumpt`-ed (gofumpt)
golangci-lint: internal/entrypoint/run.go#L45
File is not `gofumpt`-ed (gofumpt)
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/service/service.go#L134
empty-block: this block is empty, you can remove it (revive)
golangci-lint: internal/service/service.go#L305
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: internal/service/service.go#L505
empty-block: this block is empty, you can remove it (revive)
golangci-lint: internal/service/service.go#L738
empty-block: this block is empty, you can remove it (revive)
golangci-lint: internal/service/service.go#L767
empty-block: this block is empty, you can remove it (revive)