dstandish commented on code in PR #46017:
URL: https://github.com/apache/airflow/pull/46017#discussion_r1949669565


##########
airflow/models/backfill.py:
##########
@@ -347,7 +358,7 @@ def _get_info_list(
     now = timezone.utcnow()
     dagrun_info_list = (x for x in infos if x.data_interval.end < now)
     if reverse:
-        dagrun_info_list = reversed([x for x in 
dag.iter_dagrun_infos_between(from_date, to_date)])
+        dagrun_info_list = reversed([x for x in infos if x.data_interval.end < 
now])

Review Comment:
   ```suggestion
           dagrun_info_list = reversed(dag_run_info_list)
   ```



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