From 4d3b5e7242a25e7d15b0eee3d2b3e053e06b6bc8 Mon Sep 17 00:00:00 2001 From: Aaron Lewandowski Date: Tue, 14 May 2024 15:58:43 +0200 Subject: [PATCH] fix: whitespaces --- check_http_json.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/check_http_json.py b/check_http_json.py index 8d355d3..563c68a 100755 --- a/check_http_json.py +++ b/check_http_json.py @@ -334,7 +334,7 @@ class JsonRuleProcessor: key, alias = _getKeyAlias(k) failure += self.checkThreshold(key, alias, r) return failure - + def checkTimestamp(self, key, alias, r): failure = '' invert = False @@ -368,7 +368,7 @@ class JsonRuleProcessor: except: return " Value (%s) for key %s is not a Date in ISO format." % \ (self.helper.get(key), alias) - + now = datetime.now(timezone.utc) age = now - timestamp @@ -732,4 +732,4 @@ if __name__ == "__main__": # Program entry point main(sys.argv[1:]) -#EOF \ No newline at end of file +#EOF