Skip to content

Commit 5b9b709

Browse files
authored
Merge pull request sourcegraph#186 from alanjds/basictracer-update
FIX start_span(): basictracer-python was updated
2 parents 9c8d18c + cc15e4a commit 5b9b709

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/example_opentracing_socket.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
if i % 2 == 0:
3030
span.log_event("Hello world!")
3131

32-
child_span = tracer.start_span("child", parent=span)
32+
child_span = tracer.start_span("child", child_of=span)
3333
child_span.finish()
3434

3535
span.finish(finish_time=time.time()+2)

0 commit comments

Comments
 (0)