From c24b841c0a8ec60f8eabafc2dbba99358ecbf294 Mon Sep 17 00:00:00 2001 From: Itai Malek Date: Sun, 28 Jul 2019 05:30:24 +0300 Subject: [PATCH] fixed _merge_dictionaries calls in GcpSession class (#59375) --- lib/ansible/module_utils/gcp_utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/module_utils/gcp_utils.py b/lib/ansible/module_utils/gcp_utils.py index 1a8c4f1b574..20d53fa6a6a 100644 --- a/lib/ansible/module_utils/gcp_utils.py +++ b/lib/ansible/module_utils/gcp_utils.py @@ -86,7 +86,7 @@ class GcpSession(object): def post(self, url, body=None, headers=None, **kwargs): if headers: - headers = self.merge_dictionaries(headers, self._headers()) + headers = self._merge_dictionaries(headers, self._headers()) else: headers = self._headers() @@ -97,7 +97,7 @@ class GcpSession(object): def post_contents(self, url, file_contents=None, headers=None, **kwargs): if headers: - headers = self.merge_dictionaries(headers, self._headers()) + headers = self._merge_dictionaries(headers, self._headers()) else: headers = self._headers()