mirror of
https://github.com/status-im/cabot.git
synced 2025-02-24 10:28:06 +00:00
Fix KeyError
This commit is contained in:
parent
cd34b45e27
commit
d0c709375d
@ -619,7 +619,7 @@ class GraphiteStatusCheck(StatusCheck):
|
|||||||
if failed:
|
if failed:
|
||||||
failure_value = s['max']
|
failure_value = s['max']
|
||||||
elif self.check_type == '==':
|
elif self.check_type == '==':
|
||||||
failed = float(self.value) in s['all_values']
|
failed = float(self.value) in s['values']
|
||||||
if failed:
|
if failed:
|
||||||
failure_value = float(self.value)
|
failure_value = float(self.value)
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user