summaryrefslogtreecommitdiffstats
path: root/nova/api
diff options
context:
space:
mode:
authorVishvananda Ishaya <vishvananda@yahoo.com>2010-09-29 00:30:35 -0700
committerVishvananda Ishaya <vishvananda@yahoo.com>2010-09-29 00:30:35 -0700
commit970114e1729c35ebcc05930659bb5dfaf5b59d3d (patch)
tree305288a3db58663b83e918090b7e7a3919417a2c /nova/api
parent9b7d69b3575da4e54a7e2bcb1f13ced39b199d10 (diff)
fix loading to ignore deleted items
Diffstat (limited to 'nova/api')
-rw-r--r--nova/api/ec2/cloud.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/api/ec2/cloud.py b/nova/api/ec2/cloud.py
index 4c27440dc..d85b8512a 100644
--- a/nova/api/ec2/cloud.py
+++ b/nova/api/ec2/cloud.py
@@ -342,7 +342,7 @@ class CloudController(object):
if match:
db.security_group_rule_destroy(context, rule['id'])
self._trigger_refresh_security_group(security_group)
-
+ return True
raise exception.ApiError("No rule for the specified parameters.")
# TODO(soren): Dupe detection. Adding the same rule twice actually