Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #104 from coderunr/patch-2

Change call to non-existent function cb to next.
  • Loading branch information...
commit 46e771319c98bb5915d0c9f2d3e2e34c1876936b 2 parents afc0356 + 4f7bd7e
@fzaninotto authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/qosAggregator.js
View
2  lib/qosAggregator.js
@@ -232,7 +232,7 @@ QosAggregator.prototype.getTagStats = function(documents, callback) {
var aggregatedStats = [];
async.forEach(documents, function(document, next) {
self.createTagStatFromPingAggregationDocument(document, function(err, stat) {
- if (err) return cb(err);
+ if (err) return next(err);
aggregatedStats.push(stat);
next();
});
Please sign in to comment.
Something went wrong with that request. Please try again.