mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
[vmalert] config parser (#393)
* [vmalert] config parser * make linter be happy * fix test * fix sprintf add test for rule validation
This commit is contained in:
parent
c66a13bf0f
commit
f058efb3d1
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue