mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
* Fix module._result['diff'] (#33654)
This commit is contained in:
parent
6f719ea848
commit
4cc06cca1c
1 changed files with 1 additions and 1 deletions
|
@ -383,7 +383,7 @@ def load_config(module, command_filter, warnings, replace=False, admin=False, co
|
|||
diff = get_config_diff(module)
|
||||
if module._diff:
|
||||
if diff:
|
||||
module['diff'] = to_text(diff, errors='surrogate_or_strict')
|
||||
module._result['diff'] = to_text(diff, errors='surrogate_or_strict')
|
||||
if commit:
|
||||
commit_config(module, comment=comment)
|
||||
conn.edit_config('end')
|
||||
|
|
Loading…
Reference in a new issue