mirror of
https://git.proxmox.com/git/proxmox-backup
synced 2025-05-01 00:53:43 +00:00
client: backup writer: fix minor formatting issue
no functional changes Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
This commit is contained in:
parent
fad6d21910
commit
207c0eb470
@ -573,9 +573,8 @@ impl BackupWriter {
|
|||||||
.download("previous", Some(param), &mut tmpfile)
|
.download("previous", Some(param), &mut tmpfile)
|
||||||
.await?;
|
.await?;
|
||||||
|
|
||||||
let index = DynamicIndexReader::new(tmpfile).map_err(|err| {
|
let index = DynamicIndexReader::new(tmpfile)
|
||||||
format_err!("unable to read dynamic index '{archive_name}' - {err}")
|
.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
|
// Note: do not use values stored in index (not trusted) - instead, computed them again
|
||||||
let (csum, size) = index.compute_csum();
|
let (csum, size) = index.compute_csum();
|
||||||
manifest.verify_file(archive_name, &csum, size)?;
|
manifest.verify_file(archive_name, &csum, size)?;
|
||||||
|
Loading…
Reference in New Issue
Block a user