summaryrefslogtreecommitdiffstats
path: root/nova/api
diff options
context:
space:
mode:
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