From fb76aa0067ce444a668edb2d680dc3ef32e6eb21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Kut=C3=BD?= <6du1ro.n@gmail.com> Date: Tue, 16 May 2017 16:43:07 +0200 Subject: [PATCH] Fix for statement. --- prometheus/files/alerts.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prometheus/files/alerts.yml b/prometheus/files/alerts.yml index 97d0dde..75b3ad3 100644 --- a/prometheus/files/alerts.yml +++ b/prometheus/files/alerts.yml @@ -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() %}