mirror of https://github.com/apache/cloudstack.git
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…
Reference in New Issue