mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
app/vmalert/config: add missing docs for ValidateTplFn
This commit is contained in:
parent
3d4c312ba2
commit
5d62f5a324
1 changed files with 1 additions and 0 deletions
|
@ -168,6 +168,7 @@ func (r *Rule) Validate() error {
|
||||||
return checkOverflow(r.XXX, "rule")
|
return checkOverflow(r.XXX, "rule")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ValidateTplFn must validate the given annotations
|
||||||
type ValidateTplFn func(annotations map[string]string) error
|
type ValidateTplFn func(annotations map[string]string) error
|
||||||
|
|
||||||
// Parse parses rule configs from given file patterns
|
// Parse parses rule configs from given file patterns
|
||||||
|
|
Loading…
Reference in a new issue