From 7374d67961bc71103a3d60390d8eb6822cf03c1f Mon Sep 17 00:00:00 2001 From: Li Zhijian Date: Fri, 23 Apr 2021 23:04:59 +0800 Subject: [PATCH] Fix Links documents (#1835) Signed-off-by: Hu Shuai Co-authored-by: Hu Shuai --- sdk/trace/span.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/trace/span.go b/sdk/trace/span.go index 8ca19a896c6..f13967d2b59 100644 --- a/sdk/trace/span.go +++ b/sdk/trace/span.go @@ -361,7 +361,7 @@ func (s *span) Attributes() []attribute.KeyValue { return s.attributes.toKeyValue() } -// Events returns the links of this span. +// Links returns the links of this span. func (s *span) Links() []trace.Link { s.mu.Lock() defer s.mu.Unlock()