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
92630c1ab4
commit
2e0b6d680e
1 changed files with 1 additions and 0 deletions
|
@ -168,6 +168,7 @@ func (r *Rule) Validate() error {
|
|||
return checkOverflow(r.XXX, "rule")
|
||||
}
|
||||
|
||||
// ValidateTplFn must validate the given annotations
|
||||
type ValidateTplFn func(annotations map[string]string) error
|
||||
|
||||
// Parse parses rule configs from given file patterns
|
||||
|
|
Loading…
Reference in a new issue