We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54933a0 commit e8647eeCopy full SHA for e8647ee
pyms/flask/services/tracer.py
@@ -41,8 +41,8 @@ def inject_span_in_headers(headers):
41
span = get_current_span()
42
if not span:
43
span = tracer.tracer.start_span()
44
- context = span.context if span else None
45
- tracer.tracer.inject(context, opentracing.Format.HTTP_HEADERS, headers)
+ context = span.context if span else None
+ tracer.tracer.inject(context, opentracing.Format.HTTP_HEADERS, headers)
46
return headers
47
48
0 commit comments