backup writer api: verify checksum inside close

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

No files matched your search

+1
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 {