diff --git a/pkg/scheduler/core/generic_scheduler.go b/pkg/scheduler/core/generic_scheduler.go index cbd76275740..d0249027f4d 100644 --- a/pkg/scheduler/core/generic_scheduler.go +++ b/pkg/scheduler/core/generic_scheduler.go @@ -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 } diff --git a/pkg/scheduler/framework/plugins/legacy_registry.go b/pkg/scheduler/framework/plugins/legacy_registry.go index 25f0750a195..f70ec8db37c 100644 --- a/pkg/scheduler/framework/plugins/legacy_registry.go +++ b/pkg/scheduler/framework/plugins/legacy_registry.go @@ -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")