Skip to content

Commit

Permalink
Add AddLink method to DummySpan
Browse files Browse the repository at this point in the history
  • Loading branch information
vikmik committed Apr 18, 2024
1 parent a2fabf4 commit 85f6568
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tracing/dummy_span.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,7 @@ func (s *DummySpan) SetAttributes(kv ...attribute.KeyValue) {
func (s *DummySpan) TracerProvider() trace.TracerProvider {
return s.parentSpan.TracerProvider()
}

func (s *DummySpan) AddLink(trace.Link) {
// no-op

Check failure on line 72 in tracing/dummy_span.go

View workflow job for this annotation

GitHub Actions / lint (ubuntu-latest)

File is not `goimports`-ed (goimports)
}

0 comments on commit 85f6568

Please sign in to comment.