]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Fix deletion of security groups
authorZane Bitter <zbitter@redhat.com>
Wed, 23 May 2012 17:14:39 +0000 (19:14 +0200)
committerZane Bitter <zbitter@redhat.com>
Wed, 23 May 2012 19:11:19 +0000 (21:11 +0200)
commitc63965b3a09c149d2bc7bd1438a1d8b03bdc3e55
tree5f09519a86b4a5d7883ca858da3b4c9f1e579493
parent72c383396d42c21b73b4ce66717e6e0cfd2978ce
Fix deletion of security groups

First off, don't set the instance_id to an empty string as soon as we
retrieve the object from the database.

Also, don't fail if we try to delete a security group that no longer
exists.

Signed-off-by: Zane Bitter <zbitter@redhat.com>
heat/engine/security_group.py