Fix comments

This commit is contained in:
notpad 2020-03-16 11:58:27 +08:00
parent 84dc704679
commit a043bc438d
2 changed files with 2 additions and 2 deletions

View File

@ -108,7 +108,7 @@ type ScheduleAlgorithm interface {
// It returns the node where preemption happened, a list of preempted pods, a
// list of pods whose nominated node name should be removed, and error if any.
Preempt(context.Context, *profile.Profile, *framework.CycleState, *v1.Pod, error) (selectedNode *v1.Node, preemptedPods []*v1.Pod, cleanupNominatedPods []*v1.Pod, err error)
// Prioritizers returns a slice of priority config. This is exposed for
// Extenders returns a slice of extender config. This is exposed for
// testing.
Extenders() []SchedulerExtender
}

View File

@ -420,7 +420,7 @@ func NewLegacyRegistry() *LegacyRegistry {
})
// The following two features are the last ones to be supported as predicate/priority.
// Once they graduate to GA, there will be no more checking for featue gates here.
// Once they graduate to GA, there will be no more checking for feature gates here.
// Only register EvenPodsSpread predicate & priority if the feature is enabled
if utilfeature.DefaultFeatureGate.Enabled(features.EvenPodsSpread) {
klog.Infof("Registering EvenPodsSpread predicate and priority function")