summaryrefslogtreecommitdiff
path: root/templates/haproxy_config_block.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/haproxy_config_block.erb')
-rw-r--r--templates/haproxy_config_block.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/haproxy_config_block.erb b/templates/haproxy_config_block.erb
index 42d0e06..526249f 100644
--- a/templates/haproxy_config_block.erb
+++ b/templates/haproxy_config_block.erb
@@ -1,6 +1,6 @@
listen <%= name %> <%= virtual_ip %>:<%= Array(ports).join(",#{virtual_ip}:") %>
-<% haproxy_config_options.sort.each do |key, val| -%>
+<% config_options.sort.each do |key, val| -%>
<% if val.is_a?(Array) -%>
<% val.each do |item| -%>
<%= key %> <%= item %>