aboutsummaryrefslogtreecommitdiff
path: root/statistics_controller.go
diff options
context:
space:
mode:
authorVaiTon2023-04-29 15:15:10 +0000
committerVaiTon2023-04-29 15:15:10 +0000
commitb2632528a8a74505fc399e30df2ce6f5fe89363b (patch)
treee3b8f326b411e7b13c9af8d0f4a02475e475781e /statistics_controller.go
parentc5b25cab8d38177140713306273e120c91c44510 (diff)
Add delete button to rules pane.
Format go files via `go fmt`.
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)