浏览代码

Update pkg/util/atomic/atomicrunstate.go

Co-authored-by: Michael Dresser <michael@kubecost.com>
Matt Bolt 4 年之前
父节点
当前提交
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()