]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
engine : simplify resource state check
authorSteven Hardy <shardy@redhat.com>
Fri, 28 Jun 2013 15:43:41 +0000 (16:43 +0100)
committerSteven Hardy <shardy@redhat.com>
Fri, 28 Jun 2013 16:27:04 +0000 (17:27 +0100)
commit42243ec2a5368c420629f8bea4c9c2d8c8692444
tree585f159aa40a6f4e1d666a9a199f1341835dce05
parent1755b9db53150f006e8d9c12983e0438875a3a8b
engine : simplify resource state check

Simplify the test to check the resource is in a COMPLETE state
(other than DELETE_COMPLETE), so we don't have to update this for
every new action state which gets added

Change-Id: I91286d3d0464b1a71dafd01ac209ea7ded259875
heat/engine/resource.py