summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Colmer <philip.colmer@linaro.org>2014-01-22 14:28:37 +0000
committerPhilip Colmer <philip.colmer@linaro.org>2014-01-22 14:28:37 +0000
commit4a86224dd881b564aa1556ed3de061c0df95ce53 (patch)
tree95984a9e3fc425ff533bdb7d501085ff962cc098
parent0ae334fe2e13ccc3557c7d1b0fcafbc73d14a1e4 (diff)
Fixed typo
-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