feat: Migration stateless cni #8566
Annotations
9 errors and 1 warning
golangci-lint:
cns/service/main.go#L1175
cyclomatic complexity 42 of func `InitializeCRDState` is high (> 30) (gocyclo)
|
golangci-lint:
cns/service/main.go#L1238
shadow: declaration of "err" shadows declaration at line 1191 (govet)
|
golangci-lint:
cns/cnireconciler/podinfoprovider.go#L44
importShadow: shadow of imported from 'k8s.io/utils/exec' package 'exec' (gocritic)
|
golangci-lint:
cns/cnireconciler/podinfoprovider.go#L114
rangeValCopy: each iteration copies 136 bytes (consider pointers or indexing) (gocritic)
|
golangci-lint:
cns/cnireconciler/podinfoprovider.go#L115
line is 232 characters (lll)
|
golangci-lint:
cns/cnireconciler/podinfoprovider_test.go#L34
line is 579 characters (lll)
|
golangci-lint:
cns/cnireconciler/podinfoprovider.go#L111
cniStateToCnsEndpointState - result 1 (error) is always nil (unparam)
|
golangci-lint:
cns/cnireconciler/podinfoprovider.go#L50
ineffectual assignment to err (ineffassign)
|
golangci-lint
issues found
|
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
|
The logs for this run have expired and are no longer available.
Loading