Skip to content
This repository has been archived by the owner on May 23, 2023. It is now read-only.

Commit

Permalink
Fix format reference
Browse files Browse the repository at this point in the history
  • Loading branch information
yurishkuro authored Aug 22, 2016
1 parent 8555197 commit a2a9b4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ reference.
// outbound request.
tracer.Inject(
span.Context(),
opentracing.TextMap,
opentracing.HTTPHeaders,
opentracing.HTTPHeadersCarrier(httpReq.Header))

resp, err := httpClient.Do(httpReq)
Expand All @@ -113,7 +113,7 @@ reference.
var serverSpan opentracing.Span
appSpecificOperationName := ...
wireContext, err := opentracing.GlobalTracer().Extract(
opentracing.TextMap,
opentracing.HTTPHeaders,
opentracing.HTTPHeadersCarrier(req.Header))
if err != nil {
// Optionally record something about err here
Expand Down

0 comments on commit a2a9b4e

Please sign in to comment.