From a3f58fc52e247a1d251349c99f44e019044afea5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Mierzwa?= Date: Fri, 26 May 2017 21:59:54 +0100 Subject: [PATCH] 0 is the default value --- filters/filter_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filters/filter_test.go b/filters/filter_test.go index 73437c586..9374ba5ed 100644 --- a/filters/filter_test.go +++ b/filters/filter_test.go @@ -533,7 +533,7 @@ func TestLimitFilter(t *testing.T) { } if f.GetIsValid() { alert := models.Alert{} - var index int = 0 + var index int for _, isMatch := range ft.IsMatch { m := f.Match(&alert, index) if m != isMatch {