Merge pull request #104812 from astraw99/fix-sharedInformer-doc

Fix comment of `processorListener.requestedResyncPeriod`
This commit is contained in:
Kubernetes Prow Robot
2021-09-09 01:42:11 -07:00
committed by GitHub

View File

@@ -694,9 +694,9 @@ type processorListener struct {
// full resync from the shared informer, but modified by two
// adjustments. One is imposing a lower bound,
// `minimumResyncPeriod`. The other is another lower bound, the
// sharedProcessor's `resyncCheckPeriod`, that is imposed (a) only
// sharedIndexInformer's `resyncCheckPeriod`, that is imposed (a) only
// in AddEventHandlerWithResyncPeriod invocations made after the
// sharedProcessor starts and (b) only if the informer does
// sharedIndexInformer starts and (b) only if the informer does
// resyncs at all.
requestedResyncPeriod time.Duration
// resyncPeriod is the threshold that will be used in the logic