mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-15 00:13:30 +01: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
@ -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 New Issue
Block a user