From fde8af9f1134d67d295d644260dcaec7a5156f3a Mon Sep 17 00:00:00 2001 From: Alan Rominger Date: Fri, 12 Jul 2024 13:20:39 -0400 Subject: [PATCH] Fix task ending in error due to bad iterator (#15355) --- awx/main/tasks/system.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/main/tasks/system.py b/awx/main/tasks/system.py index 719164bc0a17..2aebe14d209d 100644 --- a/awx/main/tasks/system.py +++ b/awx/main/tasks/system.py @@ -984,7 +984,7 @@ def periodic_resource_sync(): executor = SyncExecutor() executor.run() - for key, item_list in executor.results: + for key, item_list in executor.results.items(): if not item_list or key == 'noop': continue # Log creations and conflicts