diff options
Diffstat (limited to 'src/utils.js')
-rw-r--r-- | src/utils.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/utils.js b/src/utils.js index dda6c7a0a..4aa1fc55e 100644 --- a/src/utils.js +++ b/src/utils.js | |||
@@ -36,7 +36,7 @@ | |||
36 | 36 | ||
37 | replay( | 37 | replay( |
38 | request.post(params, function (err, response, body) { | 38 | request.post(params, function (err, response, body) { |
39 | callbackEach(err, response, body, to_pod) | 39 | callbackEach(err, response, body, params.url, to_pod) |
40 | }), | 40 | }), |
41 | { | 41 | { |
42 | retries: retries, | 42 | retries: retries, |
@@ -71,8 +71,8 @@ | |||
71 | 71 | ||
72 | // Make a request for each pod | 72 | // Make a request for each pod |
73 | async.each(pods, function (pod, callback_each_async) { | 73 | async.each(pods, function (pod, callback_each_async) { |
74 | function callbackEachRetryRequest (err, response, body, pod) { | 74 | function callbackEachRetryRequest (err, response, body, url, pod) { |
75 | callbackEach(err, response, body, pod, function () { | 75 | callbackEach(err, response, body, url, pod, function () { |
76 | callback_each_async() | 76 | callback_each_async() |
77 | }) | 77 | }) |
78 | } | 78 | } |