Merge "Removed new=True argument from create_connection"

This commit is contained in:
Jenkins 2015-11-13 14:10:00 +00:00 committed by Gerrit Code Review
commit 6c52cf18a3
2 changed files with 2 additions and 2 deletions

View File

@ -338,7 +338,7 @@ class AgentDriverBase(driver_base.LoadBalancerBaseDriver):
agent_callbacks.LoadBalancerCallbacks(self.plugin),
agents_db.AgentExtRpcCallback(self.plugin.db)
]
self.plugin.conn = n_rpc.create_connection(new=True)
self.plugin.conn = n_rpc.create_connection()
self.plugin.conn.create_consumer(
lb_const.LOADBALANCER_PLUGINV2,
self.plugin.agent_endpoints,

View File

@ -342,7 +342,7 @@ class AgentDriverBase(abstract_driver.LoadBalancerAbstractDriver):
LoadBalancerCallbacks(self.plugin),
agents_db.AgentExtRpcCallback(self.plugin)
]
self.plugin.conn = n_rpc.create_connection(new=True)
self.plugin.conn = n_rpc.create_connection()
self.plugin.conn.create_consumer(
topics.LOADBALANCER_PLUGIN,
self.plugin.agent_endpoints,