Skip to content

Commit

Permalink
Fix usage of compare_list_reduced variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Marges, RSY (Rick) committed Nov 6, 2023
1 parent a79f987 commit 7839033
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/lookup/controller_object_diff.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,9 +322,9 @@ def run(self, terms, variables=None, **kwargs):
if self.get_option("with_present"):
for item in compare_list_reduced:
item.update({"state": "present"})
compare_list.extend(difference)
compare_list_reduced.extend(difference)
# Return Compare list with difference attached
difference = compare_list
difference = compare_list_reduced

if api_list[0]["type"] == "role":
difference_to_remove = []
Expand Down

0 comments on commit 7839033

Please sign in to comment.