From e1265b2e7b8602ac84812b65ca8061791816ce8d Mon Sep 17 00:00:00 2001 From: Maxime Guyot Date: Sat, 19 Sep 2020 01:20:28 +0200 Subject: [PATCH] Fix order of OS CI cleanup (#6714) --- scripts/openstack-cleanup/main.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/openstack-cleanup/main.py b/scripts/openstack-cleanup/main.py index 0ab9ffc13..0795875a9 100755 --- a/scripts/openstack-cleanup/main.py +++ b/scripts/openstack-cleanup/main.py @@ -34,14 +34,14 @@ def main(): conn = openstack.connect() - print('Security groups...') - map_if_old(conn.network.delete_security_group, - conn.network.security_groups()) - print('Servers...') map_if_old(conn.compute.delete_server, conn.compute.servers()) + print('Security groups...') + map_if_old(conn.network.delete_security_group, + conn.network.security_groups()) + print('Subnets...') map_if_old(conn.network.delete_subnet, conn.network.subnets())