From dad04530dfe72e020d40aceaeb1c2116f394bb57 Mon Sep 17 00:00:00 2001 From: Nguyen Quang Huy Date: Wed, 20 Feb 2019 14:33:16 +0700 Subject: [PATCH] Fix some typos in scheduler Corect some words for reading more easily. --- pkg/scheduler/eventhandlers.go | 2 +- pkg/scheduler/testutil.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/scheduler/eventhandlers.go b/pkg/scheduler/eventhandlers.go index e2d504f8d5..4cf52f381e 100644 --- a/pkg/scheduler/eventhandlers.go +++ b/pkg/scheduler/eventhandlers.go @@ -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() diff --git a/pkg/scheduler/testutil.go b/pkg/scheduler/testutil.go index 641bf88cf5..86a89f6fd1 100644 --- a/pkg/scheduler/testutil.go +++ b/pkg/scheduler/testutil.go @@ -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{})