mirror of
https://github.com/status-im/cabot.git
synced 2025-02-24 02:18:08 +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' %
|
||||
self.check_type)
|
||||
|
||||
if failure_value:
|
||||
if not failure_value is None:
|
||||
failures.append(failure_value)
|
||||
|
||||
failed = True
|
||||
|
Loading…
x
Reference in New Issue
Block a user