From 0a05a56961dd000acb717d25f462217c7abb5f52 Mon Sep 17 00:00:00 2001 From: Mischa ter Smitten Date: Sun, 22 Oct 2017 20:54:16 +0200 Subject: [PATCH] Consistency changes --- templates/etc/haproxy/defaults.cfg.j2 | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/templates/etc/haproxy/defaults.cfg.j2 b/templates/etc/haproxy/defaults.cfg.j2 index cf556c4e..6a2f95ec 100644 --- a/templates/etc/haproxy/defaults.cfg.j2 +++ b/templates/etc/haproxy/defaults.cfg.j2 @@ -20,11 +20,9 @@ {% endfor %} {% endif %} -{% if haproxy_defaults_no_option is defined %} -{% for option in haproxy_defaults_no_option %} +{% for option in haproxy_defaults_no_option | default([]) %} no option {{ option }} {% endfor %} -{% endif %} {% if haproxy_defaults_timeout != false %} {% for timeout in haproxy_defaults_timeout %}