From d6bf04d85f1befd5e59452170f703a73ee0027e1 Mon Sep 17 00:00:00 2001 From: jlsong01 Date: Thu, 6 Jan 2022 23:08:53 +0800 Subject: [PATCH] refine comments of quota monitor --- pkg/controller/resourcequota/resource_quota_monitor.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/controller/resourcequota/resource_quota_monitor.go b/pkg/controller/resourcequota/resource_quota_monitor.go index c42940b1c88..d37a1a0f60f 100644 --- a/pkg/controller/resourcequota/resource_quota_monitor.go +++ b/pkg/controller/resourcequota/resource_quota_monitor.go @@ -72,11 +72,11 @@ type QuotaMonitor struct { // each monitor list/watches a resource and determines if we should replenish quota monitors monitors monitorLock sync.RWMutex - // informersStarted is closed after after all of the controllers have been initialized and are running. + // informersStarted is closed after all the controllers have been initialized and are running. // After that it is safe to start them here, before that it is not. informersStarted <-chan struct{} - // stopCh drives shutdown. When a receive from it unblocks, monitors will shut down. + // stopCh drives shutdown. When a reception from it unblocks, monitors will shut down. // This channel is also protected by monitorLock. stopCh <-chan struct{}