From: Angus Salkeld Date: Fri, 12 Apr 2013 07:07:59 +0000 (+1000) Subject: Fix the exception message in stack_resource.get_output() X-Git-Tag: 2014.1~712 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=7dbf505e155c37ebc5fa36d9fa98f0dbf596efb8;p=openstack-build%2Fheat-build.git Fix the exception message in stack_resource.get_output() Change-Id: Ifa81e3e9062e3e731ff1989f41f390171c203c71 --- diff --git a/heat/engine/stack_resource.py b/heat/engine/stack_resource.py index 9b8398be..a3b95c9f 100644 --- a/heat/engine/stack_resource.py +++ b/heat/engine/stack_resource.py @@ -91,6 +91,6 @@ class StackResource(resource.Resource): return None if op not in stack.outputs: raise exception.InvalidTemplateAttribute( - resource=self.physical_resource_name(), key=key) + resource=self.physical_resource_name(), key=op) return stack.output(op)