summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHao Liu <44379968+TheRealHaoLiu@users.noreply.github.com>2024-03-12 15:57:57 +0100
committerGitHub <noreply@github.com>2024-03-12 15:57:57 +0100
commitdd9160135d991b052db2e6461c1e8cd699cee857 (patch)
tree9efdefd428faa74142f40ed49290122f6ecea9b1
parentAlign Orign and Host header (#14970) (diff)
downloadawx-24.0.0.tar.xz
awx-24.0.0.zip
Prune dangle image periodically (#14957)24.0.0
Prune dangle image periodically pairs with https://github.com/ansible/ansible-runner/pull/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
-rw-r--r--awx/main/tasks/system.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/awx/main/tasks/system.py b/awx/main/tasks/system.py
index 44654e630b..bca9d16c05 100644
--- a/awx/main/tasks/system.py
+++ b/awx/main/tasks/system.py
@@ -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)