Merge pull request #107389 from jlsong01/refine_comments_quota_monitor

refine comments of quota monitor
This commit is contained in:
Kubernetes Prow Robot 2022-01-10 13:34:25 -08:00 committed by GitHub
commit ccccd90bbc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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{}