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

Added a comment explaining the nature of Credit

Neal Ormsbee 5 лет назад
Родитель
Сommit
7157e4c5bc
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      pkg/kubecost/asset.go

+ 1 - 1
pkg/kubecost/asset.go

@@ -424,7 +424,7 @@ type Cloud struct {
 	window     Window
 	adjustment float64
 	Cost       float64
-	Credit     float64
+	Credit     float64 // Credit is a negative value representing dollars credited back to a given line-item
 }
 
 // NewCloud returns a new Cloud Asset