Skip to content

update golangci-lint #94

update golangci-lint

update golangci-lint #94

Triggered via pull request February 14, 2024 09:28
Status Failure
Total duration 55s
Artifacts

linters.yaml

on: pull_request
golangci-lint
47s
golangci-lint
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 11 warnings
golangci-lint: service/csi_extension_server.go#L63
File is not `gofumpt`-ed (gofumpt)
golangci-lint: service/mount.go#L263
File is not `gofumpt`-ed (gofumpt)
golangci-lint
issues found
golangci-lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4, actions/checkout@v3.2.0, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
golangci-lint: service/controller.go#L498
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: service/controller.go#L498
unused-parameter: parameter 'req' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: service/controller.go#L1605
unused-parameter: parameter 'nodeID' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: service/controller.go#L1605
unused-parameter: parameter 'arrayID' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: service/csi_extension_server.go#L234
var-naming: method getArrayIdsFromVolumes should be getArrayIDsFromVolumes (revive)
golangci-lint: service/csi_extension_server.go#L234
var-naming: method parameter requestVolumeIds should be requestVolumeIDs (revive)
golangci-lint: service/csi_extension_server.go#L314
superfluous-else: if block ends with a break statement, so drop this else and outdent its block (revive)
golangci-lint: service/csi_extension_server.go#L338
superfluous-else: if block ends with a break statement, so drop this else and outdent its block (revive)
golangci-lint: service/csi_extension_server.go#L349
var-naming: method parameter volumeIds should be volumeIDs (revive)
golangci-lint: service/csi_extension_server.go#L393
var-naming: method parameter fsIds should be fsIDs (revive)