From 8ca0e2c3232ddb01c8b0c93dd5bb43efc07f9836 Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Fri, 16 Mar 2012 17:21:30 -0400 Subject: [PATCH] fix bug in delete_instances --- sfa/openstack/osaggregate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.45.2