From 5fea9d6226429f7f5891beb6953663a82093b4f4 Mon Sep 17 00:00:00 2001 From: Srini Seetharaman Date: Sat, 29 Nov 2014 17:48:33 -0800 Subject: [PATCH] Bug 2372: Removing duplicate call in loadBalancerPoolNorthbound to loadBalancerPoolInterface.addNeutronLoadBalancerPool(singleton); Change-Id: I0b5790b6d363c85bcd0d2bb739a0de14c8516800 Signed-off-by: Srini Seetharaman --- .../neutron/northbound/NeutronLoadBalancerPoolNorthbound.java | 2 -- 1 file changed, 2 deletions(-) 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) { -- 2.36.6