From 4a2f9a64ca1702de467bdc8d0d386771786290a2 Mon Sep 17 00:00:00 2001 From: Dreamacro <8615343+Dreamacro@users.noreply.github.com> Date: Wed, 25 Dec 2024 16:57:32 +0800 Subject: [PATCH] chore: pass options to tracer start --- namesys/republisher/repub.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/namesys/republisher/repub.go b/namesys/republisher/repub.go index 95e440436..71aeb4af9 100644 --- a/namesys/republisher/repub.go +++ b/namesys/republisher/repub.go @@ -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...) }