Browse Source

Fix order of OS CI cleanup (#6714)

pull/6693/head
Maxime Guyot 4 years ago
committed by GitHub
parent
commit
e1265b2e7b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions
  1. 8
      scripts/openstack-cleanup/main.py

8
scripts/openstack-cleanup/main.py

@ -34,14 +34,14 @@ def main():
conn = openstack.connect() conn = openstack.connect()
print('Security groups...')
map_if_old(conn.network.delete_security_group,
conn.network.security_groups())
print('Servers...') print('Servers...')
map_if_old(conn.compute.delete_server, map_if_old(conn.compute.delete_server,
conn.compute.servers()) conn.compute.servers())
print('Security groups...')
map_if_old(conn.network.delete_security_group,
conn.network.security_groups())
print('Subnets...') print('Subnets...')
map_if_old(conn.network.delete_subnet, map_if_old(conn.network.delete_subnet,
conn.network.subnets()) conn.network.subnets())

Loading…
Cancel
Save