Replace PodFitsPorts with PodFitsHostPorts

This commit is contained in:
HaiyangDING
2015-09-29 17:44:26 +08:00
parent 9d49e143dc
commit 6e11cd6028
6 changed files with 15 additions and 7 deletions

View File

@@ -188,7 +188,7 @@ func TestSchedulerForgetAssumedPodAfterDelete(t *testing.T) {
// Create the scheduler config
algo := NewGenericScheduler(
map[string]algorithm.FitPredicate{"PodFitsPorts": predicates.PodFitsPorts},
map[string]algorithm.FitPredicate{"PodFitsHostPorts": predicates.PodFitsHostPorts},
[]algorithm.PriorityConfig{},
modeler.PodLister(),
rand.New(rand.NewSource(time.Now().UnixNano())))