Skip to content

Commit

Permalink
Merge pull request #40055 from StudyNick/zte-20170118
Browse files Browse the repository at this point in the history
Automatic merge from submit-queue

error word

dummyController Struct comment "disonnected " is error word
WaitForCacheSync method comment "contoller" is error word
  • Loading branch information
Kubernetes Submit Queue committed Apr 17, 2017
2 parents 73fb978 + 77cbddd commit 44127c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions staging/src/k8s.io/client-go/tools/cache/shared_informer.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 44127c5

Please sign in to comment.