mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
lb: fix haproxy cannot start if algorithm is not lowercase (#9698)
This commit is contained in:
parent
50d7ebf5cf
commit
7f2ab635e9
@ -484,7 +484,7 @@ public class HAProxyConfigurator implements LoadBalancerConfigurator {
|
||||
sb.append("\tbind ").append(publicIP).append(":").append(publicPort);
|
||||
result.add(sb.toString());
|
||||
sb = new StringBuilder();
|
||||
sb.append("\t").append("balance ").append(algorithm);
|
||||
sb.append("\t").append("balance ").append(algorithm.toLowerCase());
|
||||
result.add(sb.toString());
|
||||
|
||||
int i = 0;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user