Alejandro 4 лет назад
Родитель
Сommit
53760c3fe3
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      pkg/kubecost/allocation_test.go

+ 1 - 1
pkg/kubecost/allocation_test.go

@@ -158,7 +158,7 @@ func TestAllocation_Add(t *testing.T) {
 		t.Fatalf("Allocation.Add: expected %f; actual %f", a1.PVByteHours()+a2.PVByteHours(), act.PVByteHours())
 	}
 
-	// Minutes should be the duration2Daysation between min(starts) and max(ends)
+	// Minutes should be the duration between min(starts) and max(ends)
 	if !act.Start.Equal(a1.Start) || !act.End.Equal(a2.End) {
 		t.Fatalf("Allocation.Add: expected %s; actual %s", NewWindow(&a1.Start, &a2.End), NewWindow(&act.Start, &act.End))
 	}