Fix DB sync script
Broken by a60f6d45693c8a0d70f78a0fa9216a8c54c062e7, since we don't import the db api into heat.db any more. Change-Id: If5175ae84c9da0c8787a162a549b727381c6fbd6
This commit is contained in:
parent
2db9b282a0
commit
c8711ce650
@ -22,7 +22,7 @@ gettext.install('heat', unicode=1)
|
||||
|
||||
from oslo.config import cfg
|
||||
from heat.openstack.common import log as logging
|
||||
import heat.db
|
||||
from heat.db import api
|
||||
from heat.db import migration
|
||||
|
||||
|
||||
@ -32,7 +32,7 @@ LOG = logging.getLogger(__name__)
|
||||
if __name__ == '__main__':
|
||||
cfg.CONF(project='heat', prog='heat-engine')
|
||||
|
||||
heat.db.configure()
|
||||
api.configure()
|
||||
|
||||
try:
|
||||
migration.db_sync()
|
||||
|
Loading…
x
Reference in New Issue
Block a user