mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-15 08:23:34 +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"
|
"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 {
|
func NewArray(name, description string) *Array {
|
||||||
var a Array
|
var a Array
|
||||||
flag.Var(&a, name, description)
|
flag.Var(&a, name, description)
|
||||||
|
Loading…
Reference in New Issue
Block a user