restore: teardown pseudo backup site
This commit is contained in:
+3
-3
@@ -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');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user