summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPeter Sprygada <privateip@users.noreply.github.com>2017-06-26 00:46:41 +0200
committerGitHub <noreply@github.com>2017-06-26 00:46:41 +0200
commitb12ca95824b139598ff51f34bc0904a2105d31ff (patch)
treee7d9ea4ce42495fed5b712dee0a68980a0146505 /lib
parentUpdate FreeBSD pg test to use postgresql95-server. (diff)
downloadansible-b12ca95824b139598ff51f34bc0904a2105d31ff.tar.xz
ansible-b12ca95824b139598ff51f34bc0904a2105d31ff.zip
renames dict_combine to dict_merge in network_common (#26073)
Diffstat (limited to 'lib')
-rw-r--r--lib/ansible/module_utils/network_common.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ansible/module_utils/network_common.py b/lib/ansible/module_utils/network_common.py
index 32d831b88f..485fa947f4 100644
--- a/lib/ansible/module_utils/network_common.py
+++ b/lib/ansible/module_utils/network_common.py
@@ -227,7 +227,7 @@ def dict_diff(base, comparable):
return updates
-def dict_combine(base, other):
+def dict_merge(base, other):
""" Return a new dict object that combines base and other
This will create a new dict object that is a combination of the key/value
@@ -250,7 +250,7 @@ def dict_combine(base, other):
if key in other:
item = other.get(key)
if item is not None:
- combined[key] = dict_combine(value, other[key])
+ combined[key] = dict_merge(value, other[key])
else:
combined[key] = item
else: