fix intedation

This commit is contained in:
Martin Sura 2019-05-07 16:23:48 +02:00 committed by GitHub
parent 27eaaf0842
commit 81522fa9ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -227,8 +227,8 @@ class JsonRuleProcessor:
def checkUnknown(self):
unknown = ''
if self.rules.key_value_list_unknown != None:
unknown += self.checkEquality(self.rules.key_value_list_unknown)
return unknown
unknown += self.checkEquality(self.rules.key_value_list_unknown)
return unknown
def checkMetrics(self):
"""Return a Nagios specific performance metrics string given keys and parameter definitions"""