feat: Migration stateless cni #8565
Annotations
10 errors and 1 warning
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:
network/endpoint_windows.go#L511
rangeValCopy: each iteration copies 392 bytes (consider pointers or indexing) (gocritic)
|
golangci-lint:
cns/service/main.go#L1175
cyclomatic complexity 42 of func `InitializeCRDState` is high (> 30) (gocyclo)
|
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:
network/endpoint_windows.go#L522
err113: do not define dynamic errors, use wrapped static errors instead: "errors.New(\"No HNSEndpointID matches the IPAddress: \" + ipAddresses[0].IP.String())" (goerr113)
|
golangci-lint:
cns/service/main.go#L1238
shadow: declaration of "err" shadows declaration at line 1191 (govet)
|
golangci-lint:
cns/cnireconciler/podinfoprovider.go#L50
ineffectual assignment to err (ineffassign)
|
Run actions/setup-go@v5
Restore cache failed: Dependencies file is not found in D:\a\azure-container-networking\azure-container-networking. Supported file pattern: go.sum
|
The logs for this run have expired and are no longer available.
Loading