Fix loadbalancer driver call NeutronManager init on every call

Change-Id: Ib9c63c5af9af26d63446a804deef58c766b018e5
This commit is contained in:
Zhenmei 2015-09-29 07:07:05 +08:00 committed by zhenmei
parent 0eeebe0d3d
commit 12abbae367

View File

@ -261,7 +261,7 @@ class EdgeLbDriver(object):
def _get_lb_plugin(self):
if not self._lb_plugin:
loaded_plugins = manager.NeutronManager().get_service_plugins()
loaded_plugins = manager.NeutronManager.get_service_plugins()
self._lb_plugin = loaded_plugins[constants.LOADBALANCER]
return self._lb_plugin