From 942d3c94e29ea548d22f8a41f5201f5042ea13db Mon Sep 17 00:00:00 2001 From: Steven Hardy Date: Wed, 26 Jun 2013 12:27:05 +0100 Subject: [PATCH] engine : stack_resource change state_description to status_reason The internal API changed this name recently, but this got missed due to lack of test coverage for this exception. Turns out adding that test coverage is really hard due to all the coroutine magic, so we'll have to fix that at some later time. Change-Id: I98a0c5bb8f3f001a7d215bcdf64cad841e42ef85 --- heat/engine/stack_resource.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/heat/engine/stack_resource.py b/heat/engine/stack_resource.py index cc4a44f5e7..3bc6664eda 100644 --- a/heat/engine/stack_resource.py +++ b/heat/engine/stack_resource.py @@ -87,7 +87,7 @@ class StackResource(resource.Resource): if done: if self._nested.state != (self._nested.CREATE, self._nested.COMPLETE): - raise exception.Error(self._nested.state_description) + raise exception.Error(self._nested.status_reason) return done