Skip to content

Commit

Permalink
Remove unnecessary codes in interceptor context
Browse files Browse the repository at this point in the history
  • Loading branch information
dongxuny committed Nov 26, 2021
1 parent 37c136f commit 1bac7b7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions interceptor/context/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -383,8 +383,6 @@ func EndTraceSpan(ctx context.Context, span trace.Span, success bool) {
span.SetStatus(otelcodes.Ok, otelcodes.Ok.String())
}

span.SetName()

span.End()
}

Expand Down

0 comments on commit 1bac7b7

Please sign in to comment.