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":