Skip to content

Commit

Permalink
Fix crash on "parameters of service" page
Browse files Browse the repository at this point in the history
Change-Id: Id6ca76f68be1ed6b19612d3e13511646f357d082
  • Loading branch information
LarsMichelsen committed Jul 31, 2019
1 parent b3a3880 commit ded0ef4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmk/gui/watolib/rulesets.py
Original file line number Diff line number Diff line change
Expand Up @@ -886,7 +886,7 @@ def _get_mismatch_reasons_of_match_object(self, match_object):
rule_dict = self.to_config()
rule_dict["condition"]["host_folder"] = self.folder.path_for_rule_matching()

if self.ruleset.ruleset.is_for_services:
if self.ruleset.rulespec.is_for_services:
if matcher.is_matching_service_ruleset(match_object, [rule_dict]):
return
else:
Expand Down

0 comments on commit ded0ef4

Please sign in to comment.