diff --git a/cli-mock/src/main.rs b/cli-mock/src/main.rs index 879fb3b..27e9f83 100644 --- a/cli-mock/src/main.rs +++ b/cli-mock/src/main.rs @@ -151,18 +151,18 @@ async fn update_vm_request( dtrfs_url: "thisIsMyNewURL".to_string(), dtrfs_sha: "thisIsMyNewSha".to_string(), }; - info!("Creating VM {req:?}"); + info!("Updating VM {req:?}"); let result = client.update_vm(req).await; match result { Ok(confirmation) => { let confirmation = confirmation.into_inner(); if confirmation.error.is_empty() { - info!("Got VM confirmation: {confirmation:?}"); + info!("Got VM update confirmation: {confirmation:?}"); } else { - warn!("Got VM confirmation error: {}", confirmation.error); + warn!("Got VM update confirmation error: {}", confirmation.error); }; } - Err(e) => log::error!("Could not create vm: {e:?}"), + Err(e) => log::error!("Could not update vm: {e:?}"), }; Ok(()) } diff --git a/daemon-mock/src/main.rs b/daemon-mock/src/main.rs index 3a2caad..a9439ad 100644 --- a/daemon-mock/src/main.rs +++ b/daemon-mock/src/main.rs @@ -155,7 +155,7 @@ async fn handle_update_vm_requests( info!("Sending UpdateVmResp: {confirmation:?}"); let _ = resp.send(confirmation).await; }; - warn!("vm request handler is ending"); + warn!("update vm request handler is ending"); } async fn send_confirmations_update(