reverseproxy: remove options from renewCerts

This commit is contained in:
Girish Ramakrishnan
2022-11-14 08:13:47 +01:00
parent 5e2a55ecad
commit 0843baad8b
4 changed files with 7 additions and 12 deletions

View File

@@ -643,8 +643,7 @@ async function unconfigureApp(app) {
await reload();
}
async function renewCerts(options, auditSource, progressCallback) {
assert.strictEqual(typeof options, 'object');
async function renewCerts(auditSource, progressCallback) {
assert.strictEqual(typeof auditSource, 'object');
assert.strictEqual(typeof progressCallback, 'function');
@@ -752,12 +751,11 @@ async function cleanupCerts(auditSource, progressCallback) {
debug('cleanupCerts: done');
}
async function checkCerts(options, auditSource, progressCallback) {
assert.strictEqual(typeof options, 'object');
async function checkCerts(auditSource, progressCallback) {
assert.strictEqual(typeof auditSource, 'object');
assert.strictEqual(typeof progressCallback, 'function');
await renewCerts(options, auditSource, progressCallback);
await renewCerts(auditSource, progressCallback);
await cleanupCerts(auditSource, progressCallback);
}