diff options
author | Philip Colmer <philip.colmer@linaro.org> | 2014-01-22 14:21:00 +0000 |
---|---|---|
committer | Philip Colmer <philip.colmer@linaro.org> | 2014-01-22 14:21:00 +0000 |
commit | 0ae334fe2e13ccc3557c7d1b0fcafbc73d14a1e4 (patch) | |
tree | 7dcd38d1715ac7a7ecd5891bd918bb56ab98b665 | |
parent | aa1d43b09683e69c7d3625ad27e8e6537a588690 (diff) |
Fixed error in hc script
-rw-r--r-- | healthcheck.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/healthcheck.py b/healthcheck.py index 498d785..574844c 100644 --- a/healthcheck.py +++ b/healthcheck.py @@ -192,7 +192,7 @@ class HealthCheck(object): elif (self.last_state == States.Failed): if (new_state == States.Maintenance or new_state == States.Frozen): valid_state = True - elif (self.last_state == States.Maintenance or last_state == States.Frozen): + elif (self.last_state == States.Maintenance or self.last_state == States.Frozen): if (new_state == States.Passive): valid_state = True |