network-refactor: merge stomped on a logical not'

This commit is contained in:
Chiradeep Vittal 2013-01-17 16:59:48 -08:00
parent 56cd809600
commit 2d19f3b052

View File

@ -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");
}