From 4a71f8a4ebaf7fd1f8fcdf99f62b9134624a986f Mon Sep 17 00:00:00 2001 From: Alex Weaver Date: Wed, 29 Mar 2023 17:23:16 -0500 Subject: [PATCH] Add new func to FakeSpan which was added after rebase --- pkg/infra/tracing/test_helper.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/infra/tracing/test_helper.go b/pkg/infra/tracing/test_helper.go index 1603400693cd..5e265664f497 100644 --- a/pkg/infra/tracing/test_helper.go +++ b/pkg/infra/tracing/test_helper.go @@ -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 }