Skip to content

Improving file stat code #87

Improving file stat code

Improving file stat code #87

Triggered via pull request October 17, 2023 08:30
@suryagupta4suryagupta4
synchronize #255
fileStat
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: k8sutils/k8sutils.go#L18
File is not `gofumpt`-ed (gofumpt)
golangci-lint: k8sutils/k8sutils.go#L22
File is not `gofumpt`-ed (gofumpt)
golangci-lint: main.go#L20
File is not `gofumpt`-ed (gofumpt)
golangci-lint: main.go#L26
File is not `gofumpt`-ed (gofumpt)
golangci-lint: main.go#L32
File is not `gofumpt`-ed (gofumpt)
golangci-lint: service/controller.go#L107
File is not `gofumpt`-ed (gofumpt)
golangci-lint: service/controller.go#L120
File is not `gofumpt`-ed (gofumpt)
golangci-lint: service/controller.go#L122
File is not `gofumpt`-ed (gofumpt)
golangci-lint: service/controller.go#L144
File is not `gofumpt`-ed (gofumpt)
golangci-lint: service/controller.go#L151
File is not `gofumpt`-ed (gofumpt)
golangci-lint: k8sutils/k8sutils.go#L34
unused-parameter: parameter 'kubeconfig' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: service/controller.go#L1681
unused-parameter: parameter 'vol' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: service/controller.go#L2141
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: service/controller.go#L2142
unused-parameter: parameter 'req' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: service/controller.go#L2259
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: service/controller.go#L2716
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: service/controller.go#L2717
unused-parameter: parameter 'req' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: service/controller.go#L3089
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: service/csi_extension_server.go#L291
unused-parameter: parameter 'snapGrpID' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: service/csi_extension_server.go#L403
unused-parameter: parameter 'snapshotDefs' seems to be unused, consider removing or renaming it as _ (revive)