Skip to content

Commit

Permalink
remove ctx from trace log records (#677)
Browse files Browse the repository at this point in the history
  • Loading branch information
mathyourlife-reddit authored Jan 30, 2025
1 parent bf9fe99 commit 84d38fe
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tracing/finish_option.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ type FinishOptions struct {
func (fo FinishOptions) Convert() opentracing.FinishOptions {
var opts opentracing.FinishOptions
var lr opentracing.LogRecord
if fo.Ctx != nil {
lr.Fields = append(lr.Fields, log.Object(ctxKey, fo.Ctx))
}
if fo.Err != nil {
lr.Fields = append(lr.Fields, log.Error(fo.Err))
}
Expand Down

0 comments on commit 84d38fe

Please sign in to comment.