Fix for statement.
This commit is contained in:
parent
8989793ea1
commit
fb76aa0067
|
@ -31,7 +31,7 @@
|
||||||
{%- if alert.get('enabled', True) %}
|
{%- if alert.get('enabled', True) %}
|
||||||
ALERT {{ alertname }}
|
ALERT {{ alertname }}
|
||||||
IF {{ alert.if }}
|
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 %}
|
{%- if alert.labels is defined %}
|
||||||
LABELS {
|
LABELS {
|
||||||
{%- for name, value in alert.labels.iteritems() %}
|
{%- for name, value in alert.labels.iteritems() %}
|
||||||
|
|
Loading…
Reference in a new issue