Merge "Add more debug info for Manager requests"
This commit is contained in:
commit
4b9f0c8df1
@ -697,12 +697,12 @@ class ClusteredAPI(object):
|
||||
uri = "/%s" % uri
|
||||
url = "%s%s" % (endpoint.provider.url, uri)
|
||||
try:
|
||||
LOG.debug("API cluster proxy %s %s to %s",
|
||||
proxy_for.upper(), uri, url)
|
||||
# Add the connection default headers
|
||||
if conn.default_headers:
|
||||
kwargs['headers'] = kwargs.get('headers', {})
|
||||
kwargs['headers'].update(conn.default_headers)
|
||||
LOG.debug("API cluster proxy %s %s to %s with %s",
|
||||
proxy_for.upper(), uri, url, kwargs)
|
||||
|
||||
# call the actual connection method to do the
|
||||
# http request/response over the wire
|
||||
|
Loading…
x
Reference in New Issue
Block a user