diff --git a/src/commands.rs b/src/commands.rs index 4dc3da2..af8d079 100644 --- a/src/commands.rs +++ b/src/commands.rs @@ -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), }));