mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-06-09 08:55:55 -04:00
Cleanup: modify unmatch comments with stopCh
Signed-off-by: kerthcet <kerthcet@gmail.com>
This commit is contained in:
parent
7e3c98fd30
commit
186470abd4
1 changed files with 1 additions and 2 deletions
|
|
@ -41,8 +41,7 @@ type metricsRecorder struct {
|
|||
// how often the recorder runs to flush the metrics.
|
||||
interval time.Duration
|
||||
|
||||
// stopCh is used to stop the goroutine which periodically flushes metrics. It's currently only
|
||||
// used in tests.
|
||||
// stopCh is used to stop the goroutine which periodically flushes metrics.
|
||||
stopCh <-chan struct{}
|
||||
// isStoppedCh indicates whether the goroutine is stopped. It's used in tests only to make sure
|
||||
// the metric flushing goroutine is stopped so that tests can collect metrics for verification.
|
||||
|
|
|
|||
Loading…
Reference in a new issue