host-local: keep Pod IP #1227
Annotations
10 errors and 1 warning
Run golangci/golangci-lint-action@v3:
plugins/ipam/host-local/backend/testing/fake_store.go#L1
: # github.com/containernetworking/plugins/plugins/ipam/host-local/backend/testing
|
Run golangci/golangci-lint-action@v3:
plugins/ipam/host-local/backend/testing/fake_store.go#L30
cannot use &FakeStore{} (value of type *FakeStore) as backend.Store value in variable declaration: *FakeStore does not implement backend.Store (wrong type for method ReservePodInfo)
|
Run golangci/golangci-lint-action@v3:
plugins/ipam/host-local/backend/allocator/allocator_test.go#L26
could not import github.com/containernetworking/plugins/plugins/ipam/host-local/backend/testing (-: # github.com/containernetworking/plugins/plugins/ipam/host-local/backend/testing
|
Run golangci/golangci-lint-action@v3:
plugins/ipam/host-local/backend/testing/fake_store.go#L30
cannot use &FakeStore{} (value of type *FakeStore) as backend.Store value in variable declaration: *FakeStore does not implement backend.Store (wrong type for method ReservePodInfo)
|
Run golangci/golangci-lint-action@v3:
plugins/ipam/host-local/backend/disk/backend.go#L242
elseif: can replace 'else {if cond {}}' with 'else if cond {}' (gocritic)
|
Run golangci/golangci-lint-action@v3:
plugins/ipam/host-local/backend/disk/backend.go#L293
ifElseChain: rewrite if-else to switch statement (gocritic)
|
Run golangci/golangci-lint-action@v3:
plugins/ipam/host-local/backend/disk/backend.go#L238
File is not `gofumpt`-ed (gofumpt)
|
Run golangci/golangci-lint-action@v3:
plugins/ipam/host-local/backend/disk/backend.go#L262
File is not `gofumpt`-ed (gofumpt)
|
Run golangci/golangci-lint-action@v3:
plugins/ipam/host-local/main.go#L143
File is not `gofumpt`-ed (gofumpt)
|
Run golangci/golangci-lint-action@v3:
plugins/ipam/host-local/backend/disk/backend.go#L280
named return "ip" with type "string" found (nonamedreturns)
|
Run golangci/golangci-lint-action@v3:
plugins/ipam/host-local/backend/disk/backend.go#L257
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
|
The logs for this run have expired and are no longer available.
Loading