Skip to content
This repository has been archived by the owner on Mar 19, 2022. It is now read-only.

Commit

Permalink
Correction to README
Browse files Browse the repository at this point in the history
Small correction to the usage of request/require.
  • Loading branch information
tweeeri authored Apr 3, 2017
1 parent 991ee9f commit 72eff05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/zipkin-instrumentation-request/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Adds Zipkin tracing to the [request](https://www.npmjs.com/package/request) libr
const express = require('express');
const {Tracer, ExplicitContext, ConsoleRecorder} = require('zipkin');
const wrapRequest = require('zipkin-instrumentation-request');
const request = request('request');
const request = require('request');

const ctxImpl = new ExplicitContext();
const recorder = new ConsoleRecorder();
Expand All @@ -26,4 +26,4 @@ zipkinRequest({
console.log('statusCode:', response && response.statusCode);
console.log('body:', body);
});
```
```

0 comments on commit 72eff05

Please sign in to comment.