* Fix module._result['diff'] (#33654)

pull/33546/head
Kedar Kekan 7 years ago committed by GitHub
parent 6f719ea848
commit 4cc06cca1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -383,7 +383,7 @@ def load_config(module, command_filter, warnings, replace=False, admin=False, co
diff = get_config_diff(module) diff = get_config_diff(module)
if module._diff: if module._diff:
if diff: if diff:
module['diff'] = to_text(diff, errors='surrogate_or_strict') module._result['diff'] = to_text(diff, errors='surrogate_or_strict')
if commit: if commit:
commit_config(module, comment=comment) commit_config(module, comment=comment)
conn.edit_config('end') conn.edit_config('end')

Loading…
Cancel
Save