Remove field disablePreemption from internal scheduler codebase
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user