Skip to content

Commit

Permalink
Merge pull request #690 from Checkmk/devel
Browse files Browse the repository at this point in the history
Release 5.3.1 Encore 2
  • Loading branch information
robin-checkmk authored Oct 24, 2024
2 parents da64f91 + 6054985 commit bf44a47
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions changelogs/fragments/rule.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
bugfixes:
- rule module - Fix moving of existing rules to a different folder.
2 changes: 1 addition & 1 deletion plugins/modules/rule.py
Original file line number Diff line number Diff line change
Expand Up @@ -683,7 +683,7 @@ def _detect_changes(self):
if self._raw_value_eval("current", c) != self._raw_value_eval("desired", d):
changes.append("raw_value")

desired_location = d.get("rule", {}).get("location")
desired_location = d.get("location")
if desired_location:
c = RuleLocation(self.module, c.get("folder", "/"), self.rule_id)

Expand Down

0 comments on commit bf44a47

Please sign in to comment.