]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Don't raise ResourceFailure directly in Instance
authorZane Bitter <zbitter@redhat.com>
Mon, 12 Aug 2013 08:50:57 +0000 (10:50 +0200)
committerZane Bitter <zbitter@redhat.com>
Mon, 12 Aug 2013 08:50:57 +0000 (10:50 +0200)
commit102e4c17e39cdbadcb99a696d05426b26b503d47
tree7d92908f0d63f01a9b9432f272f9e1e356c968c7
parent8f1f23d3f1a40d7056a5fec5ee170f0c680bf69f
Don't raise ResourceFailure directly in Instance

It's meant to be a wrapper around other exceptions that's invoked by
top-level resource operations; don't use it as an all-purpose exception.

Change-Id: I295202bca603006a4d5f5d56110fc4298ddd9cec
heat/engine/resources/instance.py
heat/tests/test_instance.py