Bug 2372: Removing duplicate call in loadBalancerPoolNorthbound to loadBalancerPoolIn... 24/13224/1
authorSrini Seetharaman <srini.seetharaman@gmail.com>
Sun, 30 Nov 2014 01:48:33 +0000 (17:48 -0800)
committerSrini Seetharaman <srini.seetharaman@gmail.com>
Sun, 30 Nov 2014 01:48:33 +0000 (17:48 -0800)
Change-Id: I0b5790b6d363c85bcd0d2bb739a0de14c8516800
Signed-off-by: Srini Seetharaman <srini.seetharaman@gmail.com>
opendaylight/networkconfiguration/neutron/northbound/src/main/java/org/opendaylight/controller/networkconfig/neutron/northbound/NeutronLoadBalancerPoolNorthbound.java

index 5235030..f0ae609 100644 (file)
@@ -200,8 +200,6 @@ public class NeutronLoadBalancerPoolNorthbound {
             if (loadBalancerPoolInterface.neutronLoadBalancerPoolExists(singleton.getLoadBalancerPoolID())) {
                 throw new BadRequestException("LoadBalancerPool UUID already exists");
             }
-            loadBalancerPoolInterface.addNeutronLoadBalancerPool(singleton);
-
             Object[] instances = ServiceHelper.getGlobalInstances(INeutronLoadBalancerPoolAware.class, this, null);
             if (instances != null) {
                 for (Object instance : instances) {