rename setupStorage to setupManagedStorage
This commit is contained in:
@@ -236,7 +236,7 @@ async function restore(backupConfig, remotePath, version, ipv4Config, ipv6Config
|
||||
backupConfig.encryption = null;
|
||||
}
|
||||
|
||||
await backups.setupStorage(backupConfig, paths.MANAGED_BACKUP_MOUNT_DIR); // this validates mountOptions
|
||||
await backups.setupManagedStorage(backupConfig, paths.MANAGED_BACKUP_MOUNT_DIR); // this validates mountOptions
|
||||
error = await backups.testStorage(Object.assign({ mountPath: paths.MANAGED_BACKUP_MOUNT_DIR }, backupConfig)); // this validates provider and it's api options. requires mountPath
|
||||
if (error) throw error;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user