scheduler's NodeInfo tracks PodInfos instead of Pods

This commit is contained in:
Abdullah Gharaibeh
2020-04-08 15:56:30 -04:00
parent 3072d1e22e
commit b8ddd00312
25 changed files with 358 additions and 381 deletions

View File

@@ -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