diff --git a/internal/trace/parent/parent.go b/internal/trace/parent/parent.go index bda728699b2..42f6aeec88f 100644 --- a/internal/trace/parent/parent.go +++ b/internal/trace/parent/parent.go @@ -19,8 +19,7 @@ func GetSpanContextAndLinks(ctx context.Context, ignoreContext bool) (core.SpanC return core.EmptySpanContext(), false, links } if lsctx.IsValid() { - links := addLinkIfValid(nil, rsctx, "remote") - return lsctx, false, links + return lsctx, false, nil } if rsctx.IsValid() { return rsctx, true, nil