]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Remove reference to self.services_sync
authorCarl Baldwin <carl.baldwin@hp.com>
Thu, 19 Feb 2015 22:17:25 +0000 (22:17 +0000)
committerCarl Baldwin <carl.baldwin@hp.com>
Thu, 19 Feb 2015 22:43:53 +0000 (22:43 +0000)
This is an implementation detail of fwaas and shouldn't be referenced
here.  There is no need to call self.process_services_sync on super.

Change-Id: I8797e40480c8c43788f4c192abddaf5d3e146e4c
Partially-Implements: bp/restructure-l3-agent
Depends-On: I6091ca2c03f2b5ffef453dea1152d2ac53bb7f14

neutron/agent/l3/agent.py

index 7faaf09db7a1705729c7473d542eb7bf0e56b60a..151b9a7b313d1dd402c889319d345003216a6373 100644 (file)
@@ -1138,8 +1138,7 @@ class L3NATAgent(firewall_l3_agent.FWaaSL3AgentRpcCallback,
 
     @periodic_task.periodic_task
     def periodic_sync_routers_task(self, context):
-        if self.services_sync:
-            super(L3NATAgent, self).process_services_sync(context)
+        self.process_services_sync(context)
         LOG.debug("Starting periodic_sync_routers_task - fullsync:%s",
                   self.fullsync)
         if not self.fullsync: