From: Steven Hardy Date: Wed, 26 Jun 2013 11:27:05 +0000 (+0100) Subject: engine : stack_resource change state_description to status_reason X-Git-Tag: 2014.1~432^2 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=942d3c94e29ea548d22f8a41f5201f5042ea13db;p=openstack-build%2Fheat-build.git 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 --- diff --git a/heat/engine/stack_resource.py b/heat/engine/stack_resource.py index cc4a44f5..3bc6664e 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