app/vmalert/config: add missing docs for ValidateTplFn

This commit is contained in:
Aliaksandr Valialkin 2022-07-25 09:22:09 +03:00
parent 3d4c312ba2
commit 5d62f5a324
No known key found for this signature in database
GPG key ID: A72BEC6CD3D0DED1

View file

@ -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