From af3529a3731a9b94a0be2b86dbd3690dee89b77c Mon Sep 17 00:00:00 2001 From: Joao Gilberto Magalhaes Date: Tue, 10 Aug 2021 17:11:38 -0500 Subject: [PATCH] Removing special char. --- templates/haproxy.cfg.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/haproxy.cfg.j2 b/templates/haproxy.cfg.j2 index 192bbd4..6214a4c 100644 --- a/templates/haproxy.cfg.j2 +++ b/templates/haproxy.cfg.j2 @@ -38,7 +38,7 @@ backend srv_stats server Local 127.0.0.1:{{ data["stats"]["port"] | default(1936) }} {% endif %} {% for o in data["easymapping"] -%} - {% set mode = o["mode"] or "http" %} + {% set mode = o["mode"] or "http" %} {% set salt = loop.index %} frontend {{ mode }}_in_{{ o["port"] }}_{{ salt }}