use the full name for server config
@@ -167,7 +167,9 @@ module HAProxy
config << "listen #{full_version_name}\n"
config << " bind #{my_private_ip}:#{listen_port}\n"
servers.each do |server|
- config << HAProxy.server_config(name, "#{server['ip']}:#{server['port']}") + "\n"
+ config << HAProxy.server_config(full_version_name,
+ "#{server['ip']}:#{server['port']}") +
+ "\n"
end
# If it is the dashboard app, increase the server timeout because uploading apps
