Merge "BUG-2340 Fix improper cleanup of resources in netconf ssh handler"
authorTony Tkacik <ttkacik@cisco.com>
Mon, 1 Dec 2014 08:25:10 +0000 (08:25 +0000)
committerGerrit Code Review <gerrit@opendaylight.org>
Mon, 1 Dec 2014 08:25:10 +0000 (08:25 +0000)
opendaylight/networkconfiguration/neutron/northbound/src/main/java/org/opendaylight/controller/networkconfig/neutron/northbound/NeutronLoadBalancerPoolNorthbound.java

index 5235030b4f47da59d89582add0ee535be3e67dc5..f0ae6094d4528e44a9f3059358e6ba3f0db039bc 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) {