Skip to content

Commit 7b206d0

Browse files
fix: remove default values duplication
1 parent 000fd64 commit 7b206d0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

templates/etc/haproxy/haproxy-default.cfg.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,5 @@ defaults
4646
unique-id-format {{ haproxy_default_unique_id_format }}
4747
{% endif %}
4848
{% if haproxy_default_load_server_state_from_file is defined and haproxy_default_load_server_state_from_file|length %}
49-
load-server-state-from-file {{ haproxy_default_load_server_state_from_file | default('global') }}
49+
load-server-state-from-file {{ haproxy_default_load_server_state_from_file }}
5050
{% endif %}

templates/etc/haproxy/haproxy-global.cfg.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,5 +77,5 @@ global
7777
{% endfor %}
7878
{% endif %}
7979
{% if haproxy_global_server_state_base is defined %}
80-
server-state-base {{ haproxy_global_server_state_base | default('current') }}
80+
server-state-base {{ haproxy_global_server_state_base }}
8181
{% endif %}

0 commit comments

Comments
 (0)