From 7b206d0f5d53b6f51316c7e14124d92ac666de14 Mon Sep 17 00:00:00 2001 From: Mike Date: Fri, 10 May 2024 15:03:36 +0200 Subject: [PATCH] fix: remove default values duplication --- templates/etc/haproxy/haproxy-default.cfg.j2 | 2 +- templates/etc/haproxy/haproxy-global.cfg.j2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/etc/haproxy/haproxy-default.cfg.j2 b/templates/etc/haproxy/haproxy-default.cfg.j2 index baf769c..e132558 100644 --- a/templates/etc/haproxy/haproxy-default.cfg.j2 +++ b/templates/etc/haproxy/haproxy-default.cfg.j2 @@ -46,5 +46,5 @@ defaults unique-id-format {{ haproxy_default_unique_id_format }} {% endif %} {% if haproxy_default_load_server_state_from_file is defined and haproxy_default_load_server_state_from_file|length %} - load-server-state-from-file {{ haproxy_default_load_server_state_from_file | default('global') }} + load-server-state-from-file {{ haproxy_default_load_server_state_from_file }} {% endif %} \ No newline at end of file diff --git a/templates/etc/haproxy/haproxy-global.cfg.j2 b/templates/etc/haproxy/haproxy-global.cfg.j2 index 8655ea9..bccde8e 100644 --- a/templates/etc/haproxy/haproxy-global.cfg.j2 +++ b/templates/etc/haproxy/haproxy-global.cfg.j2 @@ -77,5 +77,5 @@ global {% endfor %} {% endif %} {% if haproxy_global_server_state_base is defined %} - server-state-base {{ haproxy_global_server_state_base | default('current') }} + server-state-base {{ haproxy_global_server_state_base }} {% endif %} \ No newline at end of file