Fix programming error in facts retry merge (#14336)

This commit is contained in:
Alan Rominger 2023-08-11 13:54:18 -04:00 committed by GitHub
parent 2c7184f9d2
commit 8dc6ceffee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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