Skip to content

Commit df9ba01

Browse files
Delete SpanLink constructor that accepts a Span
1 parent 37e7a83 commit df9ba01

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

tracer/src/Datadog.Trace/SpanLink.cs

-5
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,6 @@ public SpanLink(SpanContext spanLinkContext, List<KeyValuePair<string, string>>?
3232
Attributes = attributes;
3333
}
3434

35-
public SpanLink(Span spanToLink, List<KeyValuePair<string, string>>? attributes = null)
36-
: this(spanToLink.Context, attributes)
37-
{
38-
}
39-
4035
public List<KeyValuePair<string, string>>? Attributes { get; private set; }
4136

4237
public SpanContext Context { get; }

0 commit comments

Comments
 (0)