Add spaces to debug output

This commit is contained in:
Markus Opolka 2020-06-26 10:31:20 +02:00
parent 866a12ea07
commit 47bdea7fc5

View File

@ -225,9 +225,9 @@ class JsonRuleProcessor:
if self.rules.value_separator: if self.rules.value_separator:
value_separator = self.rules.value_separator value_separator = self.rules.value_separator
self.helper = JsonHelper(self.data, separator, value_separator) self.helper = JsonHelper(self.data, separator, value_separator)
debugPrint(rules_args.debug, "rules:%s" % rules_args) debugPrint(rules_args.debug, "rules: %s" % rules_args)
debugPrint(rules_args.debug, "separator:%s" % separator) debugPrint(rules_args.debug, "separator: %s" % separator)
debugPrint(rules_args.debug, "value_separator:%s" % value_separator) debugPrint(rules_args.debug, "value_separator: %s" % value_separator)
self.metric_list = self.expandKeys(self.rules.metric_list) self.metric_list = self.expandKeys(self.rules.metric_list)
self.key_threshold_warning = self.expandKeys( self.key_threshold_warning = self.expandKeys(
self.rules.key_threshold_warning) self.rules.key_threshold_warning)