Commit dad04530 authored by Nguyen Quang Huy's avatar Nguyen Quang Huy

Fix some typos in scheduler

Corect some words for reading more easily.
parent ad403f8e
...@@ -35,7 +35,7 @@ func (sched *Scheduler) onPvAdd(obj interface{}) { ...@@ -35,7 +35,7 @@ func (sched *Scheduler) onPvAdd(obj interface{}) {
// Pods created when there are no PVs available will be stuck in // Pods created when there are no PVs available will be stuck in
// unschedulable queue. But unbound PVs created for static provisioning and // unschedulable queue. But unbound PVs created for static provisioning and
// delay binding storage class are skipped in PV controller dynamic // 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 // again. So we need to move pods to active queue on PV add for this
// scenario. // scenario.
sched.config.SchedulingQueue.MoveAllToActiveQueue() sched.config.SchedulingQueue.MoveAllToActiveQueue()
......
...@@ -92,7 +92,7 @@ func (fc *FakeConfigurator) CreateFromKeys(predicateKeys, priorityKeys sets.Stri ...@@ -92,7 +92,7 @@ func (fc *FakeConfigurator) CreateFromKeys(predicateKeys, priorityKeys sets.Stri
return fc.Config, nil 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{} type EmptyPluginSet struct{}
var _ = plugins.PluginSet(EmptyPluginSet{}) var _ = plugins.PluginSet(EmptyPluginSet{})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment