mirror of
https://git.proxmox.com/git/proxmox-backup-qemu
synced 2025-10-05 09:08:40 +00:00
add_config: use correct size
We want to store the size of the encoded blob in the index.
This commit is contained in:
parent
df85507d5b
commit
03841f08ba
@ -119,7 +119,7 @@ pub(crate) async fn add_config(
|
||||
let mut guard = registry.lock().unwrap();
|
||||
guard.file_list.push(json!({
|
||||
"filename": blob_name,
|
||||
"size": size,
|
||||
"size": stats.size,
|
||||
"csum": proxmox::tools::digest_to_hex(&stats.csum),
|
||||
}));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user