Skip to content

feat: add scope for preheating job #8352

feat: add scope for preheating job

feat: add scope for preheating job #8352

Triggered via pull request September 11, 2024 13:00
Status Failure
Total duration 1m 45s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Lint: scheduler/networktopology/network_topology_test.go#L150
cannot use hostManager (variable of type *resource.MockHostManager) as resource.HostManager value in argument to tc.mock: *resource.MockHostManager does not implement resource.HostManager (missing method LoadAll)
Lint: scheduler/networktopology/network_topology_test.go#L636
cannot use hostManager (variable of type *resource.MockHostManager) as resource.HostManager value in argument to tc.mock: *resource.MockHostManager does not implement resource.HostManager (missing method LoadAll)
Lint: scheduler/networktopology/network_topology_test.go#L1096
cannot use hostManager (variable of type *resource.MockHostManager) as resource.HostManager value in argument to tc.mock: *resource.MockHostManager does not implement resource.HostManager (missing method LoadAll)
Lint: scheduler/networktopology/network_topology_test.go#L1374
cannot use hostManager (variable of type *resource.MockHostManager) as resource.HostManager value in argument to tc.mock: *resource.MockHostManager does not implement resource.HostManager (missing method LoadAll) (typecheck)
Lint: scheduler/resource/seed_peer_client_test.go#L108
cannot use hostManager (variable of type *MockHostManager) as HostManager value in argument to newSeedPeerClient: *MockHostManager does not implement HostManager (missing method LoadAll)
Lint: scheduler/resource/seed_peer_client_test.go#L320
cannot use hostManager (variable of type *MockHostManager) as HostManager value in argument to newSeedPeerClient: *MockHostManager does not implement HostManager (missing method LoadAll)
Lint: scheduler/resource/seed_peer_test.go#L55
cannot use hostManager (variable of type *MockHostManager) as HostManager value in argument to newSeedPeer: *MockHostManager does not implement HostManager (missing method LoadAll)
Lint: scheduler/resource/seed_peer_test.go#L87
cannot use hostManager (variable of type *MockHostManager) as HostManager value in argument to newSeedPeer: *MockHostManager does not implement HostManager (missing method LoadAll)
Lint: scheduler/resource/seed_peer_test.go#L120
cannot use hostManager (variable of type *MockHostManager) as HostManager value in argument to newSeedPeer: *MockHostManager does not implement HostManager (missing method LoadAll) (typecheck)
Lint: scheduler/service/service_v1_test.go#L1025
cannot use hostManager (variable of type *resource.MockHostManager) as resource.HostManager value in argument to tc.mock: *resource.MockHostManager does not implement resource.HostManager (missing method LoadAll)