feat: cleanup PodPriority features gate

This commit is contained in:
draveness
2019-06-21 13:30:49 +08:00
parent 0f2b01ab33
commit ca6003bc75
17 changed files with 13 additions and 217 deletions

View File

@@ -156,8 +156,7 @@ func initTestScheduler(
setPodInformer bool,
policy *schedulerapi.Policy,
) *testContext {
// Pod preemption is enabled by default scheduler configuration, but preemption only happens when PodPriority
// feature gate is enabled at the same time.
// Pod preemption is enabled by default scheduler configuration.
return initTestSchedulerWithOptions(t, context, setPodInformer, policy, schedulerframework.NewRegistry(),
nil, []schedulerconfig.PluginConfig{}, false, time.Second)
}