[pbs-devel] [PATCH proxmox-backup 2/2] client: backup writer: fix minor formatting issue
Christian Ebner
c.ebner at proxmox.com
Fri Apr 19 11:37:33 CEST 2024
no functional changes
Signed-off-by: Christian Ebner <c.ebner at 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
More information about the pbs-devel
mailing list