Remove dependence on io/ioutil, update Go to 1.21 #6
Annotations
10 errors and 10 warnings
cmd/metrics-powerscale/main.go#L21
File is not `gofumpt`-ed (gofumpt)
|
cmd/metrics-powerscale/main.go#L34
File is not `gofumpt`-ed (gofumpt)
|
cmd/metrics-powerscale/main.go#L50
File is not `gofumpt`-ed (gofumpt)
|
cmd/metrics-powerscale/main.go#L162
File is not `gofumpt`-ed (gofumpt)
|
cmd/metrics-powerscale/main.go#L175
File is not `gofumpt`-ed (gofumpt)
|
internal/common/common.go#L149
File is not `gofumpt`-ed (gofumpt)
|
internal/common/common_test.go#L35
File is not `gofumpt`-ed (gofumpt)
|
internal/common/common_test.go#L76
G306: Expect WriteFile permissions to be 0600 or less (gosec)
|
internal/common/common_test.go#L76
File is not `gofumpt`-ed (gofumpt)
|
internal/common/common_test.go#L89
G306: Expect WriteFile permissions to be 0600 or less (gosec)
|
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)
|
internal/k8s/storageclass_finder.go#L48
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
internal/k8s/volume_finder.go#L59
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
internal/service/service.go#L164
empty-block: this block is empty, you can remove it (revive)
|
internal/service/service.go#L171
empty-block: this block is empty, you can remove it (revive)
|
internal/service/service.go#L208
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
internal/service/service.go#L291
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
internal/service/service.go#L439
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
internal/service/service.go#L447
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
internal/service/service.go#L478
empty-block: this block is empty, you can remove it (revive)
|
The logs for this run have expired and are no longer available.
Loading