mirror of
https://github.com/status-im/cabot.git
synced 2025-02-24 10:28:06 +00:00
If statement wasn't checking for None correctly, which made failures "pass" when they shouldn't have.
This commit is contained in:
parent
befb85b3e0
commit
8f41505411
@ -626,7 +626,7 @@ class GraphiteStatusCheck(StatusCheck):
|
|||||||
raise Exception(u'Check type %s not supported' %
|
raise Exception(u'Check type %s not supported' %
|
||||||
self.check_type)
|
self.check_type)
|
||||||
|
|
||||||
if failure_value:
|
if not failure_value is None:
|
||||||
failures.append(failure_value)
|
failures.append(failure_value)
|
||||||
|
|
||||||
failed = True
|
failed = True
|
||||||
|
Loading…
x
Reference in New Issue
Block a user