From b128bee2cc63f7413e735a94ef73a85ba8e287c3 Mon Sep 17 00:00:00 2001 From: Antoine Pelisse Date: Tue, 17 Jan 2017 15:17:06 -0800 Subject: [PATCH] OWNERS: Create sig-node alias Create an alias group for sig-node WaitForCacheSync method comment "contoller" is error word Kubernetes-commit: 77cbdddb5907a81cb6bbd9b9234e2acfd4394004 --- tools/cache/shared_informer.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/cache/shared_informer.go b/tools/cache/shared_informer.go index 1349f335..7c28dc58 100644 --- a/tools/cache/shared_informer.go +++ b/tools/cache/shared_informer.go @@ -96,7 +96,7 @@ type InformerSynced func() bool const syncedPollPeriod = 100 * time.Millisecond // WaitForCacheSync waits for caches to populate. It returns true if it was successful, false -// if the contoller should shutdown +// if the controller should shutdown func WaitForCacheSync(stopCh <-chan struct{}, cacheSyncs ...InformerSynced) bool { err := wait.PollUntil(syncedPollPeriod, func() (bool, error) { @@ -150,7 +150,7 @@ type sharedIndexInformer struct { } // dummyController hides the fact that a SharedInformer is different from a dedicated one -// where a caller can `Run`. The run method is disonnected in this case, because higher +// where a caller can `Run`. The run method is disconnected in this case, because higher // level logic will decide when to start the SharedInformer and related controller. // Because returning information back is always asynchronous, the legacy callers shouldn't // notice any change in behavior.