Add the registry value to the other returned health value

This commit is contained in:
Joseph Schorr 2015-01-14 23:41:30 -05:00
parent a4de476a85
commit 93708d0131

View file

@ -81,6 +81,6 @@ class ProductionHealthCheck(HealthCheck):
# If RDS is down, then we still report the machine as healthy, so that it can handle
# requests once RDS comes back up.
return (data, not is_rds_working)
return (data, not is_rds_working and registry_healthy)
return (data, db_healthy and registry_healthy)