Skip to content

Commit

Permalink
chore: pass options to tracer start
Browse files Browse the repository at this point in the history
  • Loading branch information
Dreamacro committed Dec 25, 2024
1 parent 17db35a commit 4a2f9a6
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 4a2f9a6

Please sign in to comment.