Skip to content

Commit

Permalink
Fix bug in qosAggregator
Browse files Browse the repository at this point in the history
  • Loading branch information
fzaninotto committed Nov 16, 2012
1 parent 8659b7d commit 7ed11c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/qosAggregator.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ QosAggregator.prototype.getCheckStats = function(documents, callback) {
var aggregatedStats = [];
async.forEach(documents, function(document, next) {
self.createCheckStatFromPingAggregationDocument(document, function(err, stat) {
if (err) return cb(err);
if (err) return next(err);
aggregatedStats.push(stat);
next();
});
Expand Down

0 comments on commit 7ed11c4

Please sign in to comment.