Skip to content

Commit

Permalink
Prune dangle image periodically (#14957)
Browse files Browse the repository at this point in the history
Prune dangle image periodically

pairs with ansible/ansible-runner#1342

this fix the problem of us forcefully remove images when setting changing ee image that's being used in a job causing the job to fail
  • Loading branch information
TheRealHaoLiu committed Mar 12, 2024
1 parent ad96a92 commit dd91601
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion awx/main/tasks/system.py
Expand Up @@ -417,7 +417,7 @@ def handle_removed_image(remove_images=None):

@task(queue=get_task_queuename)
def cleanup_images_and_files():
_cleanup_images_and_files()
_cleanup_images_and_files(image_prune=True)


@task(queue=get_task_queuename)
Expand Down

0 comments on commit dd91601

Please sign in to comment.