Merge "Fix domain database initialization" into milestone-proposed
This commit is contained in:
commit
b225586a2a
|
@ -25,7 +25,7 @@ class Gateway(object):
|
|||
def __init__(self, db_api=None, store_api=None, notifier=None,
|
||||
policy_enforcer=None):
|
||||
self.db_api = db_api or glance.db.get_api()
|
||||
self.db_api.configure_db()
|
||||
self.db_api.setup_db_env()
|
||||
self.store_api = store_api or glance.store
|
||||
self.notifier = notifier or glance.notifier.Notifier()
|
||||
self.policy = policy_enforcer or policy.Enforcer()
|
||||
|
|
Loading…
Reference in New Issue