Optimize spiderpool leader lease election #1028
Annotations
6 errors and 1 warning
Run golangci-lint:
pkg/ippoolmanager/ippool_informer.go#L45
field `clientSet` is unused (unused)
|
Run golangci-lint:
pkg/applicationcontroller/app_controller.go#L109
lostcancel: the cancel function returned by context.WithCancel should be called, not discarded, to avoid a context leak (govet)
|
Run golangci-lint
issues found
|
Check Make lint-golang:
pkg/applicationcontroller/app_controller.go#L109
the cancel function returned by context.WithCancel should be called, not discarded, to avoid a context leak
|
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