Skip to content

Commit

Permalink
Add new func to FakeSpan which was added after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
alexweav committed Mar 29, 2023
1 parent 6c3dcb7 commit 4a71f8a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/infra/tracing/test_helper.go
Expand Up @@ -92,6 +92,10 @@ func (t *FakeSpan) AddEvents(keys []string, values []EventValue) {
}
}

func (t *FakeSpan) contextWithSpan(ctx context.Context) context.Context {
return ctx
}

type FakeTracer struct {
Spans []*FakeSpan
}
Expand Down

0 comments on commit 4a71f8a

Please sign in to comment.