Skip to content

Commit 65b49c6

Browse files
Sort remove list
1 parent 18e9421 commit 65b49c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mongodb_consistent_backup/Rotate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def rotate(self):
7272
else:
7373
remove_backups[name] = ts
7474
if len(remove_backups) > 0:
75-
logging.info("Backup(s) exceeds max backup count or age, removing: %s" % remove_backups.keys())
75+
logging.info("Backup(s) exceeds max backup count or age, removing: %s" % sorted(remove_backups.keys()))
7676
for name in remove_backups:
7777
self.remove(remove_backups[name])
7878

0 commit comments

Comments
 (0)