Fix alert typo when using FOR directive

Change-Id: I52d62ff13041cabea331d4d7ca24a6cf525efafd
This commit is contained in:
Swann Croiset 2017-05-26 19:11:59 +02:00
parent 9eca63980e
commit 84f01423df

View file

@ -31,7 +31,8 @@
{%- 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() %}