fixed missing ovmf_hash field in UpdateVMResp

This commit is contained in:
Ramil_Algayev 2025-01-01 18:12:23 +04:00
parent b5943ba465
commit d5a771d28a
2 changed files with 2 additions and 0 deletions

@ -354,6 +354,7 @@ impl BrainData {
self.submit_updatevm_resp(grpc::UpdateVmResp {
uuid,
error: "Daemon is offline.".to_string(),
ovmf_hash: "".to_string(),
})
.await;
}

@ -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;