refactor: refactor csi driver #20
lint.yml
on: pull_request
Markdown Lint
2s
golang-lint
12s
Annotations
6 errors and 2 warnings
golang-lint:
internal/csi/controller.go#L106
(*ControllerServer).getAssibleTopology - result 0 ([]*github.com/container-storage-interface/spec/lib/go/csi.Topology) is always nil (unparam)
|
golang-lint:
pkg/pod_info/pod_info.go#L50
func `(*PodInfo).getPodIP` is unused (unused)
|
golang-lint:
internal/csi/backend/k8s_search.go#L175
ineffectual assignment to err (ineffassign)
|
golang-lint:
internal/csi/controller.go#L119
ineffectual assignment to err (ineffassign)
|
golang-lint:
internal/csi/controller.go#L132
SA4010: this result of append is never used, except maybe in other appends (staticcheck)
|
golang-lint
issues found
|
Markdown Lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
golang-lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|