From: Tony Mack Date: Fri, 16 Mar 2012 21:21:30 +0000 (-0400) Subject: fix bug in delete_instances X-Git-Tag: sfa-2.1-4~11 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=8ca0e2c3232ddb01c8b0c93dd5bb43efc07f9836;p=sfa.git fix bug in delete_instances --- diff --git a/sfa/openstack/osaggregate.py b/sfa/openstack/osaggregate.py index 95185108..d2aff6ad 100644 --- a/sfa/openstack/osaggregate.py +++ b/sfa/openstack/osaggregate.py @@ -265,7 +265,7 @@ class OSAggregate: def delete_instances(self, project_name): instances = self.driver.shell.db.instance_get_all_by_project(project_name) - security_group_manager = SecurityGroup(self) + security_group_manager = SecurityGroup(self.driver) for instance in instances: # deleate this instance's security groups for security_group in instance.security_groups: