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)
|
||||
.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)?;
|
||||
|
Loading…
x
Reference in New Issue
Block a user