aboutsummaryrefslogtreecommitdiff
path: root/statistics_controller.go
diff options
context:
space:
mode:
Diffstat (limited to 'statistics_controller.go')
-rw-r--r--statistics_controller.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/statistics_controller.go b/statistics_controller.go
index 989a2e4..56bcce4 100644
--- a/statistics_controller.go
+++ b/statistics_controller.go
@@ -116,7 +116,7 @@ func (sc *StatisticsController) GetTotalStatistics(context context.Context, filt
}
totalStats.RangeStart = statisticsPerMinute[0].RangeStart
- totalStats.RangeEnd = statisticsPerMinute[len(statisticsPerMinute) - 1].RangeEnd
+ totalStats.RangeEnd = statisticsPerMinute[len(statisticsPerMinute)-1].RangeEnd
if statisticsPerMinute[0].ConnectionsPerService != nil {
totalStats.ConnectionsPerService = make(map[uint16]int64)