From 8dc6ceffee87604bf24b788abfd5a856045bd94a Mon Sep 17 00:00:00 2001 From: Alan Rominger Date: Fri, 11 Aug 2023 13:54:18 -0400 Subject: [PATCH] Fix programming error in facts retry merge (#14336) --- awx/main/tasks/facts.py | 1 + 1 file changed, 1 insertion(+) diff --git a/awx/main/tasks/facts.py b/awx/main/tasks/facts.py index a47f3890c20a..c72dc0d3a67d 100644 --- a/awx/main/tasks/facts.py +++ b/awx/main/tasks/facts.py @@ -135,4 +135,5 @@ def finish_fact_cache(hosts, destination, facts_write_time, log_data, job_id=Non log_data['cleared_ct'] += 1 if len(hosts_to_update) > 100: update_hosts(hosts_to_update) + hosts_to_update = [] update_hosts(hosts_to_update)