diff --git a/src/github.com/matrix-org/dendrite/roomserver/api/output.go b/src/github.com/matrix-org/dendrite/roomserver/api/output.go index 3c928202f..4f35dbbc7 100644 --- a/src/github.com/matrix-org/dendrite/roomserver/api/output.go +++ b/src/github.com/matrix-org/dendrite/roomserver/api/output.go @@ -66,6 +66,8 @@ func (o *OutputEvent) AddSpanFromContext(ctx context.Context) error { return nil } +// StartSpanAndReplaceContext produces a context and opentracing span from the +// info embedded in OutputEvent func (o *OutputEvent) StartSpanAndReplaceContext( ctx context.Context, ) (context.Context, opentracing.Span) {