Skip to content

Commit b32a775

Browse files
committed
SSL offloading: wrong check
1 parent 3bf7459 commit b32a775

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/main/java/com/cloud/network/lb/LoadBalancingRulesManagerImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2267,7 +2267,7 @@ public LoadBalancer updateLoadBalancerRule(UpdateLoadBalancerRuleCmd cmd) {
22672267
boolean success = _lbDao.update(lbRuleId, lb);
22682268

22692269
// If algorithm or lb protocol is changed, have to reapply the lb config
2270-
boolean needToReApplyRule = (algorithm != null && algorithm.equals(tmplbVo.getAlgorithm()))
2270+
boolean needToReApplyRule = (algorithm != null && !algorithm.equals(tmplbVo.getAlgorithm()))
22712271
|| (lbProtocol != null && !lbProtocol.equals(tmplbVo.getLbProtocol()));
22722272
if (needToReApplyRule) {
22732273
try {

0 commit comments

Comments
 (0)