mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 19:31:44 +00:00
Merge pull request #74288 from huynq0911/fix_some_typos
Fix some typos in scheduler
This commit is contained in:
commit
2f52e91d56
@ -35,7 +35,7 @@ func (sched *Scheduler) onPvAdd(obj interface{}) {
|
||||
// Pods created when there are no PVs available will be stuck in
|
||||
// unschedulable queue. But unbound PVs created for static provisioning and
|
||||
// delay binding storage class are skipped in PV controller dynamic
|
||||
// provisiong and binding process, will not trigger events to schedule pod
|
||||
// provisioning and binding process, will not trigger events to schedule pod
|
||||
// again. So we need to move pods to active queue on PV add for this
|
||||
// scenario.
|
||||
sched.config.SchedulingQueue.MoveAllToActiveQueue()
|
||||
|
@ -92,7 +92,7 @@ func (fc *FakeConfigurator) CreateFromKeys(predicateKeys, priorityKeys sets.Stri
|
||||
return fc.Config, nil
|
||||
}
|
||||
|
||||
// EmptyPluginSet is the default plugin restirar used by the default scheduler.
|
||||
// EmptyPluginSet is the default plugin registrar used by the default scheduler.
|
||||
type EmptyPluginSet struct{}
|
||||
|
||||
var _ = plugins.PluginSet(EmptyPluginSet{})
|
||||
|
Loading…
Reference in New Issue
Block a user