]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
heat engine : raise appropriate error for incorrect stack_name
authorSteven Hardy <shardy@redhat.com>
Thu, 2 Aug 2012 12:15:53 +0000 (13:15 +0100)
committerSteven Hardy <shardy@redhat.com>
Thu, 2 Aug 2012 16:52:03 +0000 (17:52 +0100)
commit1ed94e1382166ccf50f116645b4d20dcd2c74e7f
tree86c4162ec0b75cac69e745d60dd4c7b34cba72fc
parentc69f3892c2563cefdc26e6bdb54bc2c2e7c7cae5
heat engine : raise appropriate error for incorrect stack_name

Raise an AttributeError instead of returning a string when passed
an incorrect stack name, this then maps to the appropriate error
in the API.

Fixes #182

Change-Id: I7fe80496883bfbe515d9c235de812aaa14c41c12
Signed-off-by: Steven Hardy <shardy@redhat.com>
heat/engine/manager.py