tool: validator script for Azure NPM to cilium migration #14655
Annotations
10 errors and 1 warning
golangci-lint:
tools/azure-npm-to-cilium-validator.go#L9
dupImport: package is imported 2 times under different aliases on lines 9 and 10 (gocritic)
|
golangci-lint:
tools/azure-npm-to-cilium-validator.go#L10
dupImport: package is imported 2 times under different aliases on lines 9 and 10 (gocritic)
|
golangci-lint:
tools/azure-npm-to-cilium-validator.go#L262
paramTypeCombine: func(serviceSelector *metav1.LabelSelector, policyPodSelector *metav1.LabelSelector) bool could be replaced with func(serviceSelector, policyPodSelector *metav1.LabelSelector) bool (gocritic)
|
golangci-lint:
tools/azure-npm-to-cilium-validator.go#L51
rangeValCopy: each iteration copies 328 bytes (consider pointers or indexing) (gocritic)
|
golangci-lint:
tools/azure-npm-to-cilium-validator.go#L97
rangeValCopy: each iteration copies 368 bytes (consider pointers or indexing) (gocritic)
|
golangci-lint:
tools/azure-npm-to-cilium-validator.go#L129
rangeValCopy: each iteration copies 368 bytes (consider pointers or indexing) (gocritic)
|
golangci-lint:
tools/azure-npm-to-cilium-validator.go#L188
rangeValCopy: each iteration copies 328 bytes (consider pointers or indexing) (gocritic)
|
golangci-lint:
tools/azure-npm-to-cilium-validator.go#L198
rangeValCopy: each iteration copies 592 bytes (consider pointers or indexing) (gocritic)
|
golangci-lint:
tools/azure-npm-to-cilium-validator.go#L223
rangeValCopy: each iteration copies 368 bytes (consider pointers or indexing) (gocritic)
|
golangci-lint:
tools/azure-npm-to-cilium-validator.go#L234
rangeValCopy: each iteration copies 368 bytes (consider pointers or indexing) (gocritic)
|
Run actions/setup-go@v5
Restore cache failed: Dependencies file is not found in /home/runner/work/azure-container-networking/azure-container-networking. Supported file pattern: go.sum
|
Loading