From ebc6391bea10a417dc1e2f156d75799ebf46b735 Mon Sep 17 00:00:00 2001 From: Samuel Ortiz Date: Thu, 20 Feb 2020 11:49:13 +0100 Subject: [PATCH] vmm: api: Fix resize command typos Signed-off-by: Samuel Ortiz --- vmm/src/api/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vmm/src/api/mod.rs b/vmm/src/api/mod.rs index f3a8019c4..98f1c4f23 100644 --- a/vmm/src/api/mod.rs +++ b/vmm/src/api/mod.rs @@ -179,7 +179,7 @@ pub enum ApiRequest { /// VMM process. VmmShutdown(Sender), - //// Resuze the VMM + /// Resize the VMM VmResize(Arc, Sender), } @@ -323,7 +323,7 @@ pub fn vm_resize( ) -> ApiResult<()> { let (response_sender, response_receiver) = channel(); - // Send the VM creation request. + // Send the VM resizing request. api_sender .send(ApiRequest::VmResize(data, response_sender)) .map_err(ApiError::RequestSend)?;