fixed _merge_dictionaries calls in GcpSession class (#59375)

This commit is contained in:
Itai Malek 2019-07-28 05:30:24 +03:00 committed by Abhijeet Kasurde
parent 0e9f002073
commit c24b841c0a

View file

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