mirror of
https://github.com/hoernschen/dendrite.git
synced 2024-12-27 07:28:27 +00:00
Add comment
This commit is contained in:
parent
d843b51554
commit
dcf04b251c
1 changed files with 2 additions and 0 deletions
|
@ -66,6 +66,8 @@ func (o *OutputEvent) AddSpanFromContext(ctx context.Context) error {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// StartSpanAndReplaceContext produces a context and opentracing span from the
|
||||||
|
// info embedded in OutputEvent
|
||||||
func (o *OutputEvent) StartSpanAndReplaceContext(
|
func (o *OutputEvent) StartSpanAndReplaceContext(
|
||||||
ctx context.Context,
|
ctx context.Context,
|
||||||
) (context.Context, opentracing.Span) {
|
) (context.Context, opentracing.Span) {
|
||||||
|
|
Loading…
Reference in a new issue