hacky sack

This commit is contained in:
2023-03-13 23:45:57 +02:00
parent 8b67077b63
commit 5cf54bd6f2

View File

@@ -6,7 +6,7 @@
# 3) Amazon Web Services (EC2)
# A user will be able to
# 1) create an instance
# 2) delete an instance
# 2) delete an instance or all of them
# 3) list all instances across all cloud providers
# 4) start a stopped instance
# 5) stop a running instance
@@ -1078,9 +1078,7 @@ def delete_node():
print("%s node could not be deleted" % (providerName.upper()))
def delete_all_nodes():
blockPrint()
nodes = list_all_nodes("terminated")
enablePrint()
for node in nodes:
providerName = node.name.split("-")[0]
if providerName == "gce":