Skip to content

Commit

Permalink
chore: pass options to tracer start (#775)
Browse files Browse the repository at this point in the history
Co-authored-by: Andrew Gillis <[email protected]>
  • Loading branch information
Dreamacro and gammazero authored Jan 8, 2025
1 parent ae7ab1f commit 13869e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion namesys/republisher/repub.go
Original file line number Diff line number Diff line change
Expand Up @@ -196,5 +196,5 @@ func (rp *Republisher) getLastIPNSRecord(ctx context.Context, name ipns.Name) (*
var tracer = otel.Tracer("boxo/namesys/republisher")

func startSpan(ctx context.Context, name string, opts ...trace.SpanStartOption) (context.Context, trace.Span) {
return tracer.Start(ctx, "Namesys."+name)
return tracer.Start(ctx, "Namesys."+name, opts...)
}

0 comments on commit 13869e2

Please sign in to comment.