Fix alert typo when using FOR directive
Change-Id: I52d62ff13041cabea331d4d7ca24a6cf525efafd
This commit is contained in:
parent
9eca63980e
commit
84f01423df
1 changed files with 2 additions and 1 deletions
|
@ -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() %}
|
||||
|
|
Loading…
Reference in a new issue