From 4d4d5dfdd6c9a585d66bd012dd4753f696ac7fa3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Ole=C5=9B?= Date: Wed, 16 Sep 2015 09:17:36 +0000 Subject: [PATCH] Fix undeploy. Use new API --- examples/openstack/openstack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/openstack/openstack.py b/examples/openstack/openstack.py index 6c15b0d0..aeec8523 100755 --- a/examples/openstack/openstack.py +++ b/examples/openstack/openstack.py @@ -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):