feat: Migration stateless cni #9003
Annotations
7 errors and 1 warning
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 44 of func `InitializeCRDState` is high (> 30) (gocyclo)
|
golangci-lint:
cns/cnireconciler/podinfoprovider_test.go#L34
line is 579 characters (lll)
|
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:
network/endpoint_windows.go#L505
error returned from interface method should be wrapped: sig: func (github.com/Azure/azure-container-networking/network/hnswrapper.HnsV2WrapperInterface).GetNetworkByName(networkName string) (*github.com/Microsoft/hcsshim/hcn.HostComputeNetwork, error) (wrapcheck)
|
golangci-lint:
network/endpoint_windows.go#L509
error returned from interface method should be wrapped: sig: func (github.com/Azure/azure-container-networking/network/hnswrapper.HnsV2WrapperInterface).ListEndpointsOfNetwork(networkId string) ([]github.com/Microsoft/hcsshim/hcn.HostComputeEndpoint, error) (wrapcheck)
|
golangci-lint
issues found
|
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