Просмотр исходного кода

Update pkg/util/atomic/atomicrunstate.go

Co-authored-by: Michael Dresser <michael@kubecost.com>
Matt Bolt 4 лет назад
Родитель
Сommit
45af4847ef
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      pkg/util/atomic/atomicrunstate.go

+ 1 - 1
pkg/util/atomic/atomicrunstate.go

@@ -63,7 +63,7 @@ func (ars *AtomicRunState) Reset() {
 	ars.stop = nil
 }
 
-// IsRunning returns true if metric recording is running or in the process of stopping.
+// IsRunning returns true if the state is running or in the process of stopping.
 func (ars *AtomicRunState) IsRunning() bool {
 	ars.lock.Lock()
 	defer ars.lock.Unlock()