From aaaa206448fe9e861101452424829da7c1878ac8 Mon Sep 17 00:00:00 2001 From: Sergey Skripnick Date: Mon, 14 Mar 2016 05:55:31 -0700 Subject: [PATCH] Use proper attribute to get heat stack name Change-Id: I67fa95933cfa65271ccea96e1e643d37f07f612f --- rally/plugins/openstack/cleanup/resources.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rally/plugins/openstack/cleanup/resources.py b/rally/plugins/openstack/cleanup/resources.py index 1c0a2d8c..b4bfe464 100644 --- a/rally/plugins/openstack/cleanup/resources.py +++ b/rally/plugins/openstack/cleanup/resources.py @@ -58,7 +58,8 @@ class QuotaMixin(SynchronizedDeletion): @base.resource("heat", "stacks", order=100, tenant_resource=True) class HeatStack(base.ResourceManager): - pass + def name(self): + return self.raw_resource.stack_name # NOVA