backup writer api: verify checksum inside close

This commit is contained in:
Dietmar Maurer
2019-09-23 10:56:53 +02:00
parent c8c4051aa7
commit fb6026b66b
3 changed files with 24 additions and 7 deletions

View File

@ -749,6 +749,7 @@ impl BackupClient {
"wid": wid ,
"chunk-count": chunk_count,
"size": size,
"csum": proxmox::tools::digest_to_hex(&csum),
});
let _value = self.h2.post(&close_path, Some(param)).await?;
Ok(BackupStats {