cleanup unused constants for deprecated flags

This commit is contained in:
KeZhang 2020-12-16 15:00:52 +08:00
parent 2b23e71f6c
commit fca0636090

View File

@ -26,12 +26,6 @@ import (
) )
const ( const (
// SchedulerDefaultLockObjectNamespace defines default scheduler lock object namespace ("kube-system")
SchedulerDefaultLockObjectNamespace string = metav1.NamespaceSystem
// SchedulerDefaultLockObjectName defines default scheduler lock object name ("kube-scheduler")
SchedulerDefaultLockObjectName = "kube-scheduler"
// SchedulerPolicyConfigMapKey defines the key of the element in the // SchedulerPolicyConfigMapKey defines the key of the element in the
// scheduler's policy ConfigMap that contains scheduler's policy config. // scheduler's policy ConfigMap that contains scheduler's policy config.
SchedulerPolicyConfigMapKey = "policy.cfg" SchedulerPolicyConfigMapKey = "policy.cfg"