JGoldman110 commented on code in PR #30267:
URL: https://github.com/apache/airflow/pull/30267#discussion_r1148730127


##########
airflow/models/taskinstance.py:
##########
@@ -214,7 +214,8 @@ def clear_task_instances(
             task_id = ti.task_id
             if dag and dag.has_task(task_id):
                 task = dag.get_task(task_id)
-                ti.refresh_from_task(task)
+                # Preserve original assigned queue when clearing a task
+                ti.refresh_from_task(task, queue_override=task.queue)

Review Comment:
   Not a stupid question 😄 , this is error on my side, should be passing 
`ti.queue` and not `task.queue`



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to