Merge "Make osprofiler dependency really "soft""
This commit is contained in:
@@ -128,6 +128,7 @@ class HTTPClient(object):
|
|||||||
if target_auth_uri:
|
if target_auth_uri:
|
||||||
headers['X-Target-Auth-Uri'] = target_auth_uri
|
headers['X-Target-Auth-Uri'] = target_auth_uri
|
||||||
|
|
||||||
|
if osprofiler_web:
|
||||||
# Add headers for osprofiler.
|
# Add headers for osprofiler.
|
||||||
headers.update(osprofiler_web.get_trace_id_headers())
|
headers.update(osprofiler_web.get_trace_id_headers())
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user