@@ -46,7 +46,7 @@ outLoop:
bagNumber := len(bags)
if bagNumber > currentTimeWindow.Length {
bagNumber = currentTimeWindow.Length
- bags = bags[0 : currentTimeWindow.Length-1]
+ bags = bags[0:currentTimeWindow.Length]
}
// 3 filter包,必须顺序执行
@@ -44,7 +44,7 @@ outLoop: