Merge pull request #156 from loles/fix/openstack

Fix undeploy. Use new API
This commit is contained in:
Dmitry Shulyak 2015-09-16 12:18:34 +03:00
commit f1651b0308

View File

@ -710,7 +710,7 @@ def deploy():
@click.command()
def undeploy():
resources = map(resource.wrap_resource, db.get_list(collection=db.COLLECTIONS.resource))
resources = resource.load_all()
resources = {r.name: r for r in resources}
for name in reversed(resources_to_run):