Fixed a context propagation bug.

geesefs-0-30-9
Aaron Jacobs 2015-05-05 14:49:59 +10:00
parent 05bfe2677e
commit a9b17361e8
1 changed files with 1 additions and 1 deletions

View File

@ -180,7 +180,7 @@ func (o *commonOp) init(
// Set up a trace span for this op.
var reportForTrace reqtrace.ReportFunc
o.ctx, reportForTrace = reqtrace.StartSpan(ctx, o.op.ShortDesc())
o.ctx, reportForTrace = reqtrace.StartSpan(o.ctx, o.op.ShortDesc())
// When the op is finished, report to both reqtrace and the connection.
prevFinish := o.finished