aboutsummaryrefslogtreecommitdiffstats
path: root/sfc/lib/cleanup.py
diff options
context:
space:
mode:
Diffstat (limited to 'sfc/lib/cleanup.py')
-rw-r--r--sfc/lib/cleanup.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfc/lib/cleanup.py b/sfc/lib/cleanup.py
index 214ff1cb..e97034ad 100644
--- a/sfc/lib/cleanup.py
+++ b/sfc/lib/cleanup.py
@@ -126,7 +126,7 @@ def delete_openstack_objects(testcase_config, creators):
conn = connection.from_config(verify=False)
for creator in creators:
if creator.name == testcase_config.subnet_name:
- subnet_obj = creator
+ subnet_obj = creator
for creator in reversed(creators):
try:
@@ -143,7 +143,7 @@ def delete_openstack_objects(testcase_config, creators):
time.sleep(2)
creators.remove(creator)
except Exception as e:
- logger.error('Unexpected error cleaning - %s', e)
+ logger.error('Unexpected error cleaning - %s', e)
def cleanup(testcase_config, creators, mano, odl_ip=None, odl_port=None):