]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Include the resource and action in ResourceFailure exceptions
authorZane Bitter <zbitter@redhat.com>
Fri, 2 Aug 2013 12:48:54 +0000 (14:48 +0200)
committerZane Bitter <zbitter@redhat.com>
Fri, 2 Aug 2013 16:59:19 +0000 (18:59 +0200)
commit7320374a1971f33586e01b8761f78fa1820bce7b
tree9de3da5c964571a70e721f780a243751be961422
parent1aabe666f55501e8867d4aaf4118d151e57c1658
Include the resource and action in ResourceFailure exceptions

An update operation performs 3 different kinds of actions on resources
(update, create and delete), and we may want to handle failures differently
depending on the action.

Change-Id: Icf60a1aea882251150a1507183cf2d23da92675f
heat/common/exception.py
heat/engine/resource.py