Skip to content

Commit

Permalink
Replace "ids" with BY_IDS_COMMAND
Browse files Browse the repository at this point in the history
  • Loading branch information
Eden-D-Zhang committed Jan 22, 2025
1 parent 89299ca commit f2b5542
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ def _delete_archives(
return 0

archive_ids = [result["id"] for result in results]
if "ids" == command:
if BY_IDS_COMMAND == command:
not_found_ids = set(params) - set(archive_ids)
if not_found_ids:
logger.warning(
Expand Down

0 comments on commit f2b5542

Please sign in to comment.