From d5a771d28aa2ab7495597f2bf15a2a7f3d3dacc3 Mon Sep 17 00:00:00 2001 From: Ramil_Algayev Date: Wed, 1 Jan 2025 18:12:23 +0400 Subject: [PATCH] fixed missing ovmf_hash field in UpdateVMResp --- src/data.rs | 1 + src/grpc.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/src/data.rs b/src/data.rs index f490431..f0c4de3 100644 --- a/src/data.rs +++ b/src/data.rs @@ -354,6 +354,7 @@ impl BrainData { self.submit_updatevm_resp(grpc::UpdateVmResp { uuid, error: "Daemon is offline.".to_string(), + ovmf_hash: "".to_string(), }) .await; } diff --git a/src/grpc.rs b/src/grpc.rs index 7db03e3..aa82a00 100644 --- a/src/grpc.rs +++ b/src/grpc.rs @@ -256,6 +256,7 @@ impl BrainDaemonService for BrainDaemonMock { data.submit_updatevm_resp(UpdateVmResp { error: "Daemon not connected.".to_string(), uuid: updatevmreq.uuid, + ovmf_hash: "".to_string(), }) .await; break;