From: Dan Mick Date: Tue, 2 Jul 2024 22:22:42 +0000 (-0700) Subject: prune-quay.py: don't sort delete list X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F2259%2Fhead;p=ceph-build.git 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 --- 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)