From 72eff05ca1df0711015c4f4bd744d3c824507d23 Mon Sep 17 00:00:00 2001 From: tweeeri Date: Mon, 3 Apr 2017 10:33:19 -0500 Subject: [PATCH] Correction to README Small correction to the usage of request/require. --- packages/zipkin-instrumentation-request/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/zipkin-instrumentation-request/README.md b/packages/zipkin-instrumentation-request/README.md index 56e233b0..3db0cf38 100644 --- a/packages/zipkin-instrumentation-request/README.md +++ b/packages/zipkin-instrumentation-request/README.md @@ -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(); @@ -26,4 +26,4 @@ zipkinRequest({ console.log('statusCode:', response && response.statusCode); console.log('body:', body); }); -``` \ No newline at end of file +```