tasks: remove superfluous update code
This commit is contained in:
@@ -712,6 +712,8 @@ async function cleanupCerts() {
|
||||
const certFilenames = filenames.filter(f => f.endsWith('.cert'));
|
||||
const now = new Date();
|
||||
|
||||
debug('cleanupCerts: start');
|
||||
|
||||
for (const certFilename of certFilenames) {
|
||||
const certFilePath = path.join(paths.NGINX_CERT_DIR, certFilename);
|
||||
const notAfter = getExpiryDate(certFilePath);
|
||||
@@ -730,6 +732,8 @@ async function cleanupCerts() {
|
||||
await blobs.del(`${blobs.CERT_PREFIX}-${fqdn}.csr`);
|
||||
}
|
||||
}
|
||||
|
||||
debug('cleanupCerts: done');
|
||||
}
|
||||
|
||||
async function checkCerts(options, auditSource, progressCallback) {
|
||||
|
||||
Reference in New Issue
Block a user