Fix task ending in error due to bad iterator (#15355)

This commit is contained in:
Alan Rominger 2024-07-12 13:20:39 -04:00 committed by GitHub
parent 209e7e27b1
commit fde8af9f11
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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