summaryrefslogtreecommitdiff
path: root/healthcheck.py
diff options
context:
space:
mode:
Diffstat (limited to 'healthcheck.py')
-rw-r--r--healthcheck.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/healthcheck.py b/healthcheck.py
index 574844c..e78bc88 100644
--- a/healthcheck.py
+++ b/healthcheck.py
@@ -138,7 +138,7 @@ class HealthCheck(object):
elif (new_state == States.Maintenance):
new_response = 503
elif (new_state == States.Frozen):
- new_response = last_response
+ new_response = self.last_response
else:
self.logmsg("Unmatched state of %s" % str(new_state))
new_response = 500