Skip to content

Commit

Permalink
Return the diff dict instead of the dictdiffer object
Browse files Browse the repository at this point in the history
  • Loading branch information
terminalmage committed Dec 11, 2018
1 parent 204822a commit 1af036a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion salt/states/file.py
Original file line number Diff line number Diff line change
Expand Up @@ -7311,7 +7311,7 @@ def serialize(name,

if isinstance(existing_data, dict) and isinstance(merged_data, dict):
ret['changes']['diff'] = salt.utils.dictdiffer.recursive_diff(
existing_data, merged_data)
existing_data, merged_data).diffs

return ret

Expand Down

0 comments on commit 1af036a

Please sign in to comment.