Explorar o código

Revert network cost for rates

Niko Kovacevic %!s(int64=6) %!d(string=hai) anos
pai
achega
ffa3012ce0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      costmodel/aggregations.go

+ 1 - 1
costmodel/aggregations.go

@@ -467,7 +467,7 @@ func getPriceVectors(cp cloud.Provider, costDatum *CostData, rate string, discou
 	for _, val := range costDatum.NetworkData {
 		netv = append(netv, &Vector{
 			Timestamp: math.Round(val.Timestamp/10) * 10,
-			Value:     val.Value * rateCoeff,
+			Value:     val.Value,
 		})
 	}