]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Fix issues with deleting a WaitCondition
authorZane Bitter <zbitter@redhat.com>
Mon, 17 Dec 2012 18:56:22 +0000 (19:56 +0100)
committerZane Bitter <zbitter@redhat.com>
Mon, 17 Dec 2012 18:56:25 +0000 (19:56 +0100)
commit50cbd80650655338b7563966083388b564f8567c
treec76a5216b9311d108b07a137b487847a8c8d4baa
parent31899c01ce6b42e98b0ebb95089d5944c3c4950c
Fix issues with deleting a WaitCondition

Previously we were ignoring the reference to the WaitConditionHandle stored
in the database by always setting it to None on load. This meant that we
had to try to recreate it on delete, which would fail if e.g. the
WaitConditionHandle had already been deleted.

bug 1089354

Change-Id: Ibc4145348a91b455e97ba27748ff72451b0c7bce
Signed-off-by: Zane Bitter <zbitter@redhat.com>
heat/engine/resources/wait_condition.py