浏览代码

Small but important typo in comments

Signed-off-by: Bernard Grymonpon <bernard@grymonpon.be>
Bernard Grymonpon 2 年之前
父节点
当前提交
b410a269e9
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      pkg/costmodel/metrics.go

+ 1 - 1
pkg/costmodel/metrics.go

@@ -733,7 +733,7 @@ func (cmme *CostModelMetricsEmitter) Start() bool {
 			for labelString, seen := range containerSeen {
 			for labelString, seen := range containerSeen {
 				if !seen {
 				if !seen {
 					labels := getLabelStringsFromKey(labelString)
 					labels := getLabelStringsFromKey(labelString)
-					if labels[1] == unmountedPVsContainer { // special "pod" to contain the mounted PVs - does not have RAM/CPU/...
+					if labels[1] == unmountedPVsContainer { // special "pod" to contain the unmounted PVs - does not have RAM/CPU/...
 						ok := cmme.RAMAllocationRecorder.DeleteLabelValues(labels...)
 						ok := cmme.RAMAllocationRecorder.DeleteLabelValues(labels...)
 						if !ok {
 						if !ok {
 							log.Debugf("Failed to delete RAMAllocation for container with labels: %v", labels)
 							log.Debugf("Failed to delete RAMAllocation for container with labels: %v", labels)