From 59545744b36a3b4d8af4ff7b8368419d093c5ea6 Mon Sep 17 00:00:00 2001 From: DanB Date: Sun, 7 Jun 2020 13:19:36 +0200 Subject: [PATCH] Correcting ChargedInterval --- rates/chrginterval.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rates/chrginterval.go b/rates/chrginterval.go index baf9002ce..0179e1af9 100644 --- a/rates/chrginterval.go +++ b/rates/chrginterval.go @@ -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