all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [pbs-devel] [PATCH proxmox-backup 1/2] client: fix whitespace issue
@ 2024-04-19  9:37 Christian Ebner
  2024-04-19  9:37 ` [pbs-devel] [PATCH proxmox-backup 2/2] client: backup writer: fix minor formatting issue Christian Ebner
  2024-04-21 11:31 ` [pbs-devel] applied: [PATCH proxmox-backup 1/2] client: fix whitespace issue Thomas Lamprecht
  0 siblings, 2 replies; 3+ messages in thread
From: Christian Ebner @ 2024-04-19  9:37 UTC (permalink / raw)
  To: pbs-devel

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
---
 proxmox-backup-client/src/main.rs | 1 -
 1 file changed, 1 deletion(-)

diff --git a/proxmox-backup-client/src/main.rs b/proxmox-backup-client/src/main.rs
index 9dbd3cd1a..32fe914c4 100644
--- a/proxmox-backup-client/src/main.rs
+++ b/proxmox-backup-client/src/main.rs
@@ -210,7 +210,6 @@ async fn backup_directory<P: AsRef<Path>>(
         }
     });
 
-
     let stats = client
         .upload_stream(archive_name, stream, upload_options)
         .await?;
-- 
2.39.2



_______________________________________________
pbs-devel mailing list
pbs-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel


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

* [pbs-devel] [PATCH proxmox-backup 2/2] client: backup writer: fix minor formatting issue
  2024-04-19  9:37 [pbs-devel] [PATCH proxmox-backup 1/2] client: fix whitespace issue Christian Ebner
@ 2024-04-19  9:37 ` Christian Ebner
  2024-04-21 11:31 ` [pbs-devel] applied: [PATCH proxmox-backup 1/2] client: fix whitespace issue Thomas Lamprecht
  1 sibling, 0 replies; 3+ messages in thread
From: Christian Ebner @ 2024-04-19  9:37 UTC (permalink / raw)
  To: pbs-devel

no functional changes

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
---
 pbs-client/src/backup_writer.rs | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/pbs-client/src/backup_writer.rs b/pbs-client/src/backup_writer.rs
index b944692b8..dc9aa569f 100644
--- a/pbs-client/src/backup_writer.rs
+++ b/pbs-client/src/backup_writer.rs
@@ -573,9 +573,8 @@ impl BackupWriter {
             .download("previous", Some(param), &mut tmpfile)
             .await?;
 
-        let index = DynamicIndexReader::new(tmpfile).map_err(|err| {
-            format_err!("unable to read dynamic index '{archive_name}' - {err}")
-        })?;
+        let index = DynamicIndexReader::new(tmpfile)
+            .map_err(|err| format_err!("unable to read dynamic index '{archive_name}' - {err}"))?;
         // Note: do not use values stored in index (not trusted) - instead, computed them again
         let (csum, size) = index.compute_csum();
         manifest.verify_file(archive_name, &csum, size)?;
-- 
2.39.2



_______________________________________________
pbs-devel mailing list
pbs-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel


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

* [pbs-devel] applied: [PATCH proxmox-backup 1/2] client: fix whitespace issue
  2024-04-19  9:37 [pbs-devel] [PATCH proxmox-backup 1/2] client: fix whitespace issue Christian Ebner
  2024-04-19  9:37 ` [pbs-devel] [PATCH proxmox-backup 2/2] client: backup writer: fix minor formatting issue Christian Ebner
@ 2024-04-21 11:31 ` Thomas Lamprecht
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Lamprecht @ 2024-04-21 11:31 UTC (permalink / raw)
  To: Proxmox Backup Server development discussion, Christian Ebner

Am 19/04/2024 um 11:37 schrieb Christian Ebner:
> Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
> ---
>  proxmox-backup-client/src/main.rs | 1 -
>  1 file changed, 1 deletion(-)
> 
>

applied both patches, thanks!


_______________________________________________
pbs-devel mailing list
pbs-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel


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

end of thread, other threads:[~2024-04-21 11:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-19  9:37 [pbs-devel] [PATCH proxmox-backup 1/2] client: fix whitespace issue Christian Ebner
2024-04-19  9:37 ` [pbs-devel] [PATCH proxmox-backup 2/2] client: backup writer: fix minor formatting issue Christian Ebner
2024-04-21 11:31 ` [pbs-devel] applied: [PATCH proxmox-backup 1/2] client: fix whitespace issue Thomas Lamprecht

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal