uranusjr commented on code in PR #27755:
URL: https://github.com/apache/airflow/pull/27755#discussion_r1025962415


##########
airflow/api_connexion/endpoints/health_endpoint.py:
##########
@@ -28,7 +29,9 @@ def get_health() -> APIResponse:
     """Return the health of the airflow scheduler and metadatabase."""
     metadatabase_status = HEALTHY
     latest_scheduler_heartbeat = None
+    latest_triggerer_heartbeat = None
     scheduler_status = UNHEALTHY
+    triggerer_status = None

Review Comment:
   I feel this should match the scheduler status logic and default to UNHEALTHY.



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