[pbs-devel] applied: [PATCH proxmox-backup-client] mount: fix mount subcommand
Dietmar Maurer
dietmar at proxmox.com
Thu Sep 10 07:21:00 CEST 2020
applied
> On 09/08/2020 3:33 PM Dylan Whyte <d.whyte at proxmox.com> wrote:
>
>
> fixes the error, "manifest does not contain
> file 'X.pxar'", that occurs when trying to mount
> a pxar archive with 'proxmox-backup-client mount':
>
> Signed-off-by: Dylan Whyte <d.whyte at proxmox.com>
> ---
> src/bin/proxmox_backup_client/mount.rs | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/bin/proxmox_backup_client/mount.rs b/src/bin/proxmox_backup_client/mount.rs
> index 7646e98c..24224499 100644
> --- a/src/bin/proxmox_backup_client/mount.rs
> +++ b/src/bin/proxmox_backup_client/mount.rs
> @@ -141,7 +141,7 @@ async fn mount_do(param: Value, pipe: Option<RawFd>) -> Result<Value, Error> {
>
> let (manifest, _) = client.download_manifest().await?;
>
> - let file_info = manifest.lookup_file_info(&archive_name)?;
> + let file_info = manifest.lookup_file_info(&server_archive_name)?;
>
> if server_archive_name.ends_with(".didx") {
> let index = client.download_dynamic_index(&manifest, &server_archive_name).await?;
> --
> 2.20.1
>
>
>
> _______________________________________________
> pbs-devel mailing list
> pbs-devel at lists.proxmox.com
> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel
More information about the pbs-devel
mailing list