From 5cf54bd6f2d539d584667bea42c3f19e56e41c52 Mon Sep 17 00:00:00 2001 From: konsthol Date: Mon, 13 Mar 2023 23:45:57 +0200 Subject: [PATCH] hacky sack --- secdep.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/secdep.py b/secdep.py index 081bc39..217f462 100755 --- a/secdep.py +++ b/secdep.py @@ -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":