rename setupStorage to setupManagedStorage

This commit is contained in:
Girish Ramakrishnan
2024-06-25 12:38:27 +02:00
parent 36a768eb60
commit d9b478cf1f
4 changed files with 8 additions and 8 deletions

View File

@@ -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;