From: Srini Seetharaman Date: Sun, 30 Nov 2014 01:48:33 +0000 (-0800) Subject: Bug 2372: Removing duplicate call in loadBalancerPoolNorthbound to loadBalancerPoolIn... X-Git-Tag: release/lithium~827 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=commitdiff_plain;h=5fea9d6226429f7f5891beb6953663a82093b4f4 Bug 2372: Removing duplicate call in loadBalancerPoolNorthbound to loadBalancerPoolInterface.addNeutronLoadBalancerPool(singleton); Change-Id: I0b5790b6d363c85bcd0d2bb739a0de14c8516800 Signed-off-by: Srini Seetharaman --- diff --git a/opendaylight/networkconfiguration/neutron/northbound/src/main/java/org/opendaylight/controller/networkconfig/neutron/northbound/NeutronLoadBalancerPoolNorthbound.java b/opendaylight/networkconfiguration/neutron/northbound/src/main/java/org/opendaylight/controller/networkconfig/neutron/northbound/NeutronLoadBalancerPoolNorthbound.java index 5235030b4f..f0ae6094d4 100644 --- a/opendaylight/networkconfiguration/neutron/northbound/src/main/java/org/opendaylight/controller/networkconfig/neutron/northbound/NeutronLoadBalancerPoolNorthbound.java +++ b/opendaylight/networkconfiguration/neutron/northbound/src/main/java/org/opendaylight/controller/networkconfig/neutron/northbound/NeutronLoadBalancerPoolNorthbound.java @@ -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) {