pull group: add error context for cleanup_unreferenced_files
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
9ccf933be5
commit
fe79687c59
@ -497,7 +497,9 @@ async fn pull_snapshot(
|
||||
try_client_log_download(worker, reader, &client_log_name).await?;
|
||||
}
|
||||
|
||||
snapshot.cleanup_unreferenced_files(&manifest)?;
|
||||
snapshot
|
||||
.cleanup_unreferenced_files(&manifest)
|
||||
.map_err(|err| format_err!("failed to cleanup unreferenced files - {err}"))?;
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user