mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 11:52:28 +01:00
network-refactor: merge stomped on a logical not'
This commit is contained in:
parent
56cd809600
commit
2d19f3b052
@ -1083,7 +1083,7 @@ public class LoadBalancingRulesManagerImpl<Type> implements LoadBalancingRulesMa
|
||||
|
||||
// verify rule is supported by Lb provider of the network
|
||||
LoadBalancingRule loadBalancing = new LoadBalancingRule(newRule, new ArrayList<LbDestination>(), new ArrayList<LbStickinessPolicy>());
|
||||
if (validateRule(loadBalancing)) {
|
||||
if (!validateRule(loadBalancing)) {
|
||||
throw new InvalidParameterValueException("LB service provider cannot support this rule");
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user