Commit Graph

2 Commits (94485e3a9e2fe7ac8ffe698473447d3e7c3d49c0)

Author SHA1 Message Date
Emanuel Bennici 1053be44b0
Fix email template
The Email notifier was using `map[string]interface{}` to "put" the
information (like Service and Failure struct) into the template.
The value of a map can only be used with `{{ index . "Service" }}` in a
GoLang template.
To simplify – and reduce the needed changes – `emailOutgoing` now
contains for the `Data` field an extra struct with `Service` and
`Failure` fields.

This patch fixes #472.
2020-04-27 13:43:00 +02:00
hunterlong f331e9bbf9 notify after x failures, variable replacer, 0.90.16 2020-03-22 19:50:30 -07:00