From 54d9857bb98a1b36fe9a8807a46221f6e5df65b8 Mon Sep 17 00:00:00 2001 From: Vasiliy Tolstov Date: Sun, 17 Mar 2024 00:35:37 +0300 Subject: [PATCH] fixup labels Signed-off-by: Vasiliy Tolstov --- opentracing.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opentracing.go b/opentracing.go index d569e05..8597bc5 100644 --- a/opentracing.go +++ b/opentracing.go @@ -76,7 +76,7 @@ func (t *otTracer) Start(ctx context.Context, name string, opts ...tracer.SpanOp } } - sp.AddLabels(options.Labels) + sp.AddLabels(options.Labels...) return tracer.NewSpanContext(ctx, sp), sp }