agent,resmgr: merge PodResources{List,Map}, cache list. #4
Annotations
8 errors and 1 warning
golangci-lint:
cmd/plugins/topology-aware/policy/cache_test.go#L50
cannot use &mockCache{} (value of type *mockCache) as cache.Cache value in struct literal: *mockCache does not implement cache.Cache (wrong type for method RefreshPods)
|
golangci-lint:
cmd/plugins/topology-aware/policy/cache_test.go#L63
cannot use &mockCache{…} (value of type *mockCache) as cache.Cache value in struct literal: *mockCache does not implement cache.Cache (wrong type for method RefreshPods)
|
golangci-lint:
cmd/plugins/topology-aware/policy/cache_test.go#L112
cannot use &mockCache{…} (value of type *mockCache) as cache.Cache value in struct literal: *mockCache does not implement cache.Cache (wrong type for method RefreshPods)
|
golangci-lint:
cmd/plugins/topology-aware/policy/coldstart_test.go#L94
cannot use &mockCache{…} (value of type *mockCache) as cache.Cache value in struct literal: *mockCache does not implement cache.Cache (wrong type for method RefreshPods)
|
golangci-lint:
cmd/plugins/topology-aware/policy/pools_test.go#L132
cannot use &mockCache{} (value of type *mockCache) as cache.Cache value in struct literal: *mockCache does not implement cache.Cache (wrong type for method RefreshPods)
|
golangci-lint:
cmd/plugins/topology-aware/policy/pools_test.go#L257
cannot use &mockCache{} (value of type *mockCache) as cache.Cache value in struct literal: *mockCache does not implement cache.Cache (wrong type for method RefreshPods)
|
golangci-lint:
cmd/plugins/topology-aware/policy/pools_test.go#L517
cannot use &mockCache{} (value of type *mockCache) as cache.Cache value in struct literal: *mockCache does not implement cache.Cache (wrong type for method RefreshPods)
|
golangci-lint
issues found
|
golangci-lint
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
|