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

Update pkg/costmodel/allocation.go

Co-authored-by: Michael Dresser <michael@kubecost.com>
Niko Kovacevic 5 лет назад
Родитель
Сommit
03ecfe58aa
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      pkg/costmodel/allocation.go

+ 1 - 1
pkg/costmodel/allocation.go

@@ -487,7 +487,7 @@ func applyPodResults(window kubecost.Window, resolution time.Duration, podMap ma
 			continue
 		}
 
-		// Adjust timestamps accorind to the resolution and the adjustment
+		// Adjust timestamps according to the resolution and the adjustment
 		// coefficients, as described above. That is, count the start timestamp
 		// from the beginning of the resolution, not the end. Then "reduce" the
 		// start and end by the correct amount, in the case that the "running"