Remove dependence on io/ioutil, update Go to 1.21 #5
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
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)
|