Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit fcf20ad

Browse filesBrowse files
authored
Merge pull request #1 from prat0318/patch-1
Fix the example for adding trace to a new_request
2 parents 05a5c78 + 1209c25 commit fcf20ad
Copy full SHA for fcf20ad

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎README.rst

Copy file name to clipboardExpand all lines: README.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ If you want to make an RPC and continue an existing trace, you can inject the cu
107107
text_carrier = {}
108108
opentracing_tracer.inject(span, opentracing.Format.TEXT_MAP, text_carrier)
109109
for k, v in text_carrier.iteritems():
110-
request.add_header(k,v)
110+
new_request.add_header(k,v)
111111
... # make request
112112
113113
Examples

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.