From 93708d0131fb1ac467a571b132a4b5c7e9128d96 Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Wed, 14 Jan 2015 23:41:30 -0500 Subject: [PATCH] Add the registry value to the other returned health value --- health/healthcheck.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/health/healthcheck.py b/health/healthcheck.py index f5204dff7..cc76c76c7 100644 --- a/health/healthcheck.py +++ b/health/healthcheck.py @@ -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)