Selaa lähdekoodia

Small but important typo in comments

Signed-off-by: Bernard Grymonpon <bernard@grymonpon.be>
Bernard Grymonpon 2 vuotta sitten
vanhempi
sitoutus
ac6c848396
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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 {
 				if !seen {
 					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...)
 						if !ok {
 							log.Debugf("Failed to delete RAMAllocation for container with labels: %v", labels)