Always set project sync execution_node to current host (#11204)

This commit is contained in:
Alan Rominger 2021-10-05 13:08:40 -04:00 committed by GitHub
parent a036363e85
commit af5f8e8a4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2625,7 +2625,7 @@ class RunInventoryUpdate(BaseTask):
job_type='run',
job_tags=','.join(sync_needs),
status='running',
execution_node=inventory_update.execution_node,
execution_node=Instance.objects.me().hostname,
instance_group=inventory_update.instance_group,
celery_task_id=inventory_update.celery_task_id,
)