Annotations
12 errors and 1 warning
Run golangci-lint:
pkg/subnetmanager/subnet_informer.go#L34
could not import github.com/spidernet-io/spiderpool/pkg/ippoolmanager (-: # github.com/spidernet-io/spiderpool/pkg/ippoolmanager
|
Run golangci-lint:
pkg/ippoolmanager/ippool_manager.go#L183
assignment mismatch: 1 variable but spiderpoolip.FindAvailableIPs returns 2 values) (typecheck)
|
Run golangci-lint:
pkg/ipam/allocate.go#L28
could not import github.com/spidernet-io/spiderpool/pkg/ippoolmanager (-: # github.com/spidernet-io/spiderpool/pkg/ippoolmanager
|
Run golangci-lint:
pkg/ippoolmanager/ippool_manager.go#L183
assignment mismatch: 1 variable but spiderpoolip.FindAvailableIPs returns 2 values) (typecheck)
|
Run golangci-lint:
pkg/ipam/allocate.go#L856
i.endpointManager.GetEndpointsByIPs undefined (type workloadendpointmanager.WorkloadEndpointManager has no field or method GetEndpointsByIPs) (typecheck)
|
Run golangci-lint:
cmd/spiderpool-agent/cmd/config.go#L23
could not import github.com/spidernet-io/spiderpool/pkg/ippoolmanager (-: # github.com/spidernet-io/spiderpool/pkg/ippoolmanager
|
Run golangci-lint:
pkg/ippoolmanager/ippool_manager.go#L183
assignment mismatch: 1 variable but spiderpoolip.FindAvailableIPs returns 2 values) (typecheck)
|
Run golangci-lint:
pkg/ip/ip_test.go#L442
assignment mismatch: 1 variable but spiderpoolip.FindAvailableIPs returns 2 values (typecheck)
|
Run golangci-lint:
pkg/ippoolmanager/ippool_manager.go#L183
assignment mismatch: 1 variable but spiderpoolip.FindAvailableIPs returns 2 values (typecheck)
|
Run golangci-lint:
pkg/ippoolmanager/ippool_manager_suite_test.go#L23
could not import github.com/spidernet-io/spiderpool/pkg/ippoolmanager (-: # github.com/spidernet-io/spiderpool/pkg/ippoolmanager [github.com/spidernet-io/spiderpool/pkg/ippoolmanager.test]
|
Check Make lint-golang
Process completed with exit code 2.
|
Result
Process completed with exit code 1.
|
Install Go
Restore cache failed: Dependencies file is not found in /home/runner/work/spiderpool/spiderpool. Supported file pattern: go.sum
|
Loading