From 35049a148ad806b0cc0a40291a592eb5d590af9c Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Mon, 26 Nov 2018 14:52:21 +0100 Subject: [PATCH] Don't jsonify after and before on diff return. (#49092) --- lib/ansible/module_utils/docker_common.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/ansible/module_utils/docker_common.py b/lib/ansible/module_utils/docker_common.py index d66c5b592b..b7b770fcca 100644 --- a/lib/ansible/module_utils/docker_common.py +++ b/lib/ansible/module_utils/docker_common.py @@ -680,10 +680,7 @@ class DifferenceTracker(object): for item in self._diff: before[item['name']] = item['active'] after[item['name']] = item['parameter'] - return ( - jsonify(before, sort_keys=True, indent=2), - jsonify(after, sort_keys=True, indent=2), - ) + return before, after def get_legacy_docker_container_diffs(self): '''