From c01397601c79f0814f8db409c5a8cfe2557ff35a Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Wed, 2 Oct 2019 13:34:19 +0200 Subject: [PATCH] use correct file name in index.json --- src/commands.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands.rs b/src/commands.rs index af8d079..4cf3980 100644 --- a/src/commands.rs +++ b/src/commands.rs @@ -207,7 +207,7 @@ pub(crate) async fn close_image( let mut guard = registry.lock().unwrap(); guard.file_list.push(json!({ - "filename": device_name, + "filename": format!("{}.img.fidx", device_name), "size": device_size, "csum": proxmox::tools::digest_to_hex(&upload_result.csum), }));