Skip to content

agent,resmgr: merge PodResources{List,Map}, cache list. #4

agent,resmgr: merge PodResources{List,Map}, cache list.

agent,resmgr: merge PodResources{List,Map}, cache list. #4

Triggered via push December 17, 2024 08:55
Status Failure
Total duration 1m 23s
Artifacts

lint.yaml

on: push
Fit to window
Zoom out
Zoom in

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