We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3bf7459 commit b32a775Copy full SHA for b32a775
server/src/main/java/com/cloud/network/lb/LoadBalancingRulesManagerImpl.java
@@ -2267,7 +2267,7 @@ public LoadBalancer updateLoadBalancerRule(UpdateLoadBalancerRuleCmd cmd) {
2267
boolean success = _lbDao.update(lbRuleId, lb);
2268
2269
// If algorithm or lb protocol is changed, have to reapply the lb config
2270
- boolean needToReApplyRule = (algorithm != null && algorithm.equals(tmplbVo.getAlgorithm()))
+ boolean needToReApplyRule = (algorithm != null && !algorithm.equals(tmplbVo.getAlgorithm()))
2271
|| (lbProtocol != null && !lbProtocol.equals(tmplbVo.getLbProtocol()));
2272
if (needToReApplyRule) {
2273
try {
0 commit comments