Merge "Add missing parameter for switch_backend.initialize"

This commit is contained in:
Zuul 2018-11-08 14:57:09 +00:00 committed by Gerrit Code Review
commit 178bf2ba70
1 changed files with 2 additions and 1 deletions

View File

@ -292,7 +292,8 @@ class DfLocalController(object):
action = update.action
if action == ctrl_const.CONTROLLER_REINITIALIZE:
self.db_store.clear()
self.switch_backend.initialize(self.db_change_callback)
self.switch_backend.initialize(self.db_change_callback,
self.neutron_notifier)
self.sync()
elif action == ctrl_const.CONTROLLER_SYNC:
self.sync()