Update remove script.
This commit is contained in:
parent
2df52fdea7
commit
dcf6010b69
BIN
__pycache__/constants.cpython-38.pyc
Normal file
BIN
__pycache__/constants.cpython-38.pyc
Normal file
Binary file not shown.
@ -13,9 +13,13 @@ def main():
|
||||
db_server = client.servers.get_by_name(DB_SERVER_NAME)
|
||||
gitea_server = client.servers.get_by_name(GITEA_SERVER_NAME)
|
||||
|
||||
if ssh_key is not None:
|
||||
ssh_key.delete()
|
||||
if vnet is not None:
|
||||
vnet.delete()
|
||||
if db_server is not None:
|
||||
db_server.delete()
|
||||
if gitea_server is not None:
|
||||
gitea_server.delete()
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user