hacky sack
This commit is contained in:
@@ -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":
|
||||
|
||||
Reference in New Issue
Block a user