mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 23:47:50 +00:00
scheduler's NodeInfo tracks PodInfos instead of Pods
This commit is contained in:
@@ -555,7 +555,7 @@ func TestSchedulerNoPhantomPodAfterExpire(t *testing.T) {
|
||||
return
|
||||
default:
|
||||
}
|
||||
pods, err := scache.List(labels.Everything())
|
||||
pods, err := scache.ListPods(labels.Everything())
|
||||
if err != nil {
|
||||
errChan <- fmt.Errorf("cache.List failed: %v", err)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user