potiuk commented on code in PR #30255:
URL: https://github.com/apache/airflow/pull/30255#discussion_r1161339357
##########
airflow/www/views.py:
##########
@@ -660,7 +662,7 @@ def health(self):
scheduler_status = "unhealthy"
payload["metadatabase"] = {"status": "healthy"}
try:
- scheduler_job = SchedulerJob.most_recent_job()
+ scheduler_job = most_recent_job(SchedulerJobRunner.job_type)
Review Comment:
yep
##########
airflow/jobs/backfill_job.py:
##########
@@ -835,7 +843,7 @@ def _execute(self, session: Session = NEW_SESSION) -> None:
if not dagrun_infos:
if not self.run_at_least_once:
self.log.info("No run dates were found for the given dates and
dag interval.")
- return
+ return None
Review Comment:
No problem
--
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]