Merge "Correct the lbaasv2 pool create code"

This commit is contained in:
Jenkins 2015-11-25 03:11:42 +00:00 committed by Gerrit Code Review
commit 7275578a2c
1 changed files with 1 additions and 1 deletions

View File

@ -222,7 +222,7 @@ class PoolManager(driver_base.BasePoolManager):
agent['host'])
def create(self, context, pool):
super(PoolManager, self).delete(context, pool)
super(PoolManager, self).create(context, pool)
agent = self.driver.get_loadbalancer_agent(
context, pool.listener.loadbalancer.id)
self.driver.agent_rpc.create_pool(context, pool, agent['host'])