Correcting ChargedInterval

This commit is contained in:
DanB
2020-06-07 13:19:36 +02:00
parent b215416a0c
commit 59545744b3

View File

@@ -21,7 +21,7 @@ package rates
import "time"
type ChargedInterval struct {
Increments []*ChargingIncrement // specific increments applied to this interval
Increments []*ChargedIncrement // specific increments applied to this interval
CompressFactor int
ecUsageIdx *time.Duration // computed value of totalUsage at the starting of the interval
usage *time.Duration // cache usage computation for this interval