Fix the exception message in stack_resource.get_output()

Change-Id: Ifa81e3e9062e3e731ff1989f41f390171c203c71
This commit is contained in:
Angus Salkeld 2013-04-12 17:07:59 +10:00
parent e346a21add
commit 7dbf505e15

View File

@ -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)