Skip to content

Commit

Permalink
Fix task ending in error due to bad iterator (#15355)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanCoding authored Jul 12, 2024
1 parent 209e7e2 commit fde8af9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion awx/main/tasks/system.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fde8af9

Please sign in to comment.