Skip to content

Commit

Permalink
fixed _merge_dictionaries calls in GcpSession class (ansible#59375)
Browse files Browse the repository at this point in the history
  • Loading branch information
itaimalek authored and Akasurde committed Jul 28, 2019
1 parent 0e9f002 commit c24b841
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/ansible/module_utils/gcp_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def get(self, url, body=None, **kwargs):

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()

Expand All @@ -97,7 +97,7 @@ def post(self, url, body=None, headers=None, **kwargs):

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()

Expand Down

0 comments on commit c24b841

Please sign in to comment.