From 33e23edf09093f26a10ba7f53a140648e3c85472 Mon Sep 17 00:00:00 2001 From: astraw99 Date: Tue, 7 Sep 2021 16:45:07 +0800 Subject: [PATCH] fix sharedInformer doc Kubernetes-commit: 9d84ffafd06e6ca455aa279bd513758696e8e875 --- 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 3a3f538a..1956f265 100644 --- a/tools/cache/shared_informer.go +++ b/tools/cache/shared_informer.go @@ -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