]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Fix problem creating ResourceFailure
authorBen Nemec <openstack@nemebean.com>
Sat, 10 Aug 2013 01:12:23 +0000 (20:12 -0500)
committerBen Nemec <openstack@nemebean.com>
Sun, 11 Aug 2013 05:37:02 +0000 (00:37 -0500)
commit8f8c9ab6b7493cb402c16722d5255e792740df0f
tree9ffd7ef0b5c88869725f949e30b862e0af2f6eab
parent872fcf8a311292aedb16bb21e74e37bc32bebee9
Fix problem creating ResourceFailure

The ResourceFailure exception is being instantiated improperly in
a couple of places.  This changes fixes the problem and adds tests
to cover the problem cases.

Change-Id: I2662a3abde1fd00d275e2190401c20166256cae0
Closes-Bug: 1210681
heat/engine/parser.py
heat/engine/resources/instance.py
heat/tests/test_instance.py