From 31daa7161ff1413c05b6f3e27373a0829e1bdee5 Mon Sep 17 00:00:00 2001 From: Dan Mick Date: Tue, 2 Jul 2024 15:22:42 -0700 Subject: [PATCH] prune-quay.py: don't sort delete list It's easier to understand what's going on from the debug output if the list is left in query order, which is newest-to-oldest order Signed-off-by: Dan Mick --- quay-pruner/build/prune-quay.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quay-pruner/build/prune-quay.py b/quay-pruner/build/prune-quay.py index 2f026a72..a3f0d782 100755 --- a/quay-pruner/build/prune-quay.py +++ b/quay-pruner/build/prune-quay.py @@ -302,7 +302,7 @@ def main(): print('\nDeleting tags:', sorted(tags_to_delete)) # and now delete all the ones we found - for tagname in sorted(tags_to_delete): + for tagname in tags_to_delete: delete_from_quay(tagname, quaytoken, args.dryrun) -- 2.39.5