From f058efb3d19102e4f1d5588694eddcbd79d09c6a Mon Sep 17 00:00:00 2001 From: kreedom <60944649+kreedom@users.noreply.github.com> Date: Sun, 29 Mar 2020 01:48:30 +0200 Subject: [PATCH] [vmalert] config parser (#393) * [vmalert] config parser * make linter be happy * fix test * fix sprintf add test for rule validation --- lib/flagutil/array.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/flagutil/array.go b/lib/flagutil/array.go index 8f1d6846b..ba1498f24 100644 --- a/lib/flagutil/array.go +++ b/lib/flagutil/array.go @@ -5,7 +5,7 @@ import ( "strings" ) -// NewArray returns new Array with the given name and descprition. +// NewArray returns new Array with the given name and description. func NewArray(name, description string) *Array { var a Array flag.Var(&a, name, description)