Skip to content

Commit

Permalink
fixed context initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
anuptalwalkar committed Jan 30, 2017
1 parent f378f13 commit 0cb5541
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/uhttp/filters.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func (f tracingServerFilter) Apply(ctx fx.Context, w http.ResponseWriter, r *htt
ext.HTTPUrl.Set(span, r.URL.String())
defer span.Finish()

yoctx = fxcontext.Context{
ctx = &fxcontext.Context{
Context: opentracing.ContextWithSpan(ctx, span),
}
ctx = ctx.(*fxcontext.Context).WithContextAwareLogger(span)
Expand Down

0 comments on commit 0cb5541

Please sign in to comment.