public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pbs-devel] [PATCH proxmox-backup-client] mount: fix mount subcommand
@ 2020-09-08 13:33 Dylan Whyte
  2020-09-10  5:21 ` [pbs-devel] applied: " Dietmar Maurer
  0 siblings, 1 reply; 2+ messages in thread
From: Dylan Whyte @ 2020-09-08 13:33 UTC (permalink / raw)
  To: pbs-devel

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





^ permalink raw reply	[flat|nested] 2+ messages in thread

* [pbs-devel] applied: [PATCH proxmox-backup-client] mount: fix mount subcommand
  2020-09-08 13:33 [pbs-devel] [PATCH proxmox-backup-client] mount: fix mount subcommand Dylan Whyte
@ 2020-09-10  5:21 ` Dietmar Maurer
  0 siblings, 0 replies; 2+ messages in thread
From: Dietmar Maurer @ 2020-09-10  5:21 UTC (permalink / raw)
  To: Proxmox Backup Server development discussion, Dylan Whyte

applied 

> On 09/08/2020 3:33 PM Dylan Whyte <d.whyte@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@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@lists.proxmox.com
> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-09-10  5:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-08 13:33 [pbs-devel] [PATCH proxmox-backup-client] mount: fix mount subcommand Dylan Whyte
2020-09-10  5:21 ` [pbs-devel] applied: " Dietmar Maurer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal