Remove field disablePreemption from internal scheduler codebase

This commit is contained in:
Wei Huang
2020-09-10 12:59:35 -07:00
parent 0fd10997df
commit eb3d2de543
6 changed files with 1 additions and 15 deletions

View File

@@ -52,7 +52,6 @@ import (
)
const (
disablePodPreemption = false
podInitialBackoffDurationSeconds = 1
podMaxBackoffDurationSeconds = 10
testSchedulerName = "test-scheduler"
@@ -453,7 +452,6 @@ func newConfigFactoryWithFrameworkRegistry(
return &Configurator{
client: client,
informerFactory: informerFactory,
disablePreemption: disablePodPreemption,
percentageOfNodesToScore: schedulerapi.DefaultPercentageOfNodesToScore,
podInitialBackoffSeconds: podInitialBackoffDurationSeconds,
podMaxBackoffSeconds: podMaxBackoffDurationSeconds,