mirror of
https://github.com/drewkerrigan/nagios-http-json.git
synced 2025-05-10 09:53:44 +02:00
fix: missing %
This commit is contained in:
parent
1376fe513c
commit
f4cc490b98
@ -357,7 +357,7 @@ class JsonRuleProcessor:
|
|||||||
elif unit == 'd':
|
elif unit == 'd':
|
||||||
tiemduration = timedelta(days=duration)
|
tiemduration = timedelta(days=duration)
|
||||||
else:
|
else:
|
||||||
return " Value (%s) is not a vaild timeduration." (r)
|
return " Value (%s) is not a vaild timeduration." % (r)
|
||||||
|
|
||||||
if not self.helper.exists(key):
|
if not self.helper.exists(key):
|
||||||
return " Key (%s) for key %s not Exists." % \
|
return " Key (%s) for key %s not Exists." % \
|
||||||
|
Loading…
Reference in New Issue
Block a user