Explorar o código

Added a comment explaining the nature of Credit

Neal Ormsbee %!s(int64=5) %!d(string=hai) anos
pai
achega
7157e4c5bc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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