Skip to content

Commit

Permalink
Update bridge/opentracing/bridge_test.go
Browse files Browse the repository at this point in the history
Co-authored-by: Tyler Yahn <[email protected]>
  • Loading branch information
dmathieu and MrAlias authored Jul 22, 2022
1 parent 6efdca9 commit 788bf01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bridge/opentracing/bridge_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ type nonDeferWrapperTracer struct {

func (t *nonDeferWrapperTracer) Start(ctx context.Context, name string, opts ...trace.SpanStartOption) (context.Context, trace.Span) {
// Run start on the parent wrapper with a brand new context
// So `WithDeferredSetup` hasn't been called, and the Opentracing context is injected
// so `WithDeferredSetup` hasn't been called, and the OpenTracing context is injected.
return t.WrapperTracer.Start(context.Background(), name, opts...)
}

Expand Down

0 comments on commit 788bf01

Please sign in to comment.