explicitly prune out second argument

This commit is contained in:
Girish Ramakrishnan
2015-12-13 20:35:23 -08:00
parent 7b40674c0d
commit d9a83eacd2
+4 -1
View File
@@ -245,7 +245,10 @@ function waitForChallenge(challenge, callback) {
else if (result.body.status === 'valid') return retryCallback();
else return retryCallback(new AcmeError(AcmeError.EXTERNAL_ERROR, 'Unexpected status: ' + result.body.status));
});
}, callback);
}, function retryFinished(error) {
// async.retry will pass 'undefined' as second arg making it unusable with async.waterfall()
callback(error);
});
}
// https://community.letsencrypt.org/t/public-beta-rate-limits/4772 for rate limits