소스 검색

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)