Fix for statement.

This commit is contained in:
Michael Kutý 2017-05-16 16:43:07 +02:00
parent 8989793ea1
commit fb76aa0067

View file

@ -31,7 +31,7 @@
{%- if alert.get('enabled', True) %}
ALERT {{ alertname }}
IF {{ alert.if }}
{%- if alert.for is defined %}FOR {{ alert.for }}{%- endif %}
{% if alert.for is defined %}FOR {{ alert.for }}{% endif %}
{%- if alert.labels is defined %}
LABELS {
{%- for name, value in alert.labels.iteritems() %}