update functionality for the brain #2

Merged
ghe0 merged 11 commits from new-updater into main 2025-01-09 22:29:56 +00:00
2 changed files with 2 additions and 0 deletions
Showing only changes of commit d5a771d28a - Show all commits

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