restore: teardown pseudo backup site

This commit is contained in:
Girish Ramakrishnan
2025-12-05 16:12:59 +01:00
parent 392d47852d
commit 620974217a
3 changed files with 8 additions and 6 deletions
+3 -3
View File
@@ -77,7 +77,7 @@ async function removeAllContainers() {
async function markApps(existingInfra, restoreOptions) {
assert.strictEqual(typeof existingInfra, 'object');
assert.strictEqual(typeof restoreOptions, 'object'); // { backupSite, skipDnsSetup }
assert.strictEqual(typeof restoreOptions, 'object'); // { skipDnsSetup }
if (existingInfra.version === 'none') { // cloudron is being restored from backup
debug('markApps: restoring apps');
@@ -114,7 +114,7 @@ async function onInfraReady(infraChanged) {
}
async function startInfra(restoreOptions) {
assert.strictEqual(typeof restoreOptions, 'object'); // { backupSite, skipDnsSetup }
assert.strictEqual(typeof restoreOptions, 'object'); // { skipDnsSetup }
if (constants.TEST && !process.env.TEST_CREATE_INFRA) return;
@@ -201,7 +201,7 @@ async function uninitialize() {
}
async function onActivated(restoreOptions) {
assert.strictEqual(typeof restoreOptions, 'object'); // { backupSite, skipDnsSetup }
assert.strictEqual(typeof restoreOptions, 'object'); // { skipDnsSetup }
debug('onActivated: starting post activation services');