1
0
mirror of https://github.com/prometheus/alertmanager.git synced 2026-02-06 00:46:17 +01:00
Files
alertmanager/web
Julius Volz 41963417df Treat GeneratorURL as optional in Alerts page.
This fixes https://github.com/prometheus/alertmanager/issues/21

Otherwise, sending an alert with a missing `GeneratorURL` payload
property would cause the template rendering to crash:

    Error executing template: template: alerts.html:51:76: executing "content" at <.Alert.Payload.Gener...>: invalid value; expected string
2015-01-10 21:58:42 +01:00
..