mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 21:55:20 +00:00
vmm: api: Fix resize command typos
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
parent
9de755334d
commit
ebc6391bea
@ -179,7 +179,7 @@ pub enum ApiRequest {
|
||||
/// VMM process.
|
||||
VmmShutdown(Sender<ApiResponse>),
|
||||
|
||||
//// Resuze the VMM
|
||||
/// Resize the VMM
|
||||
VmResize(Arc<VmResizeData>, Sender<ApiResponse>),
|
||||
}
|
||||
|
||||
@ -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)?;
|
||||
|
Loading…
Reference in New Issue
Block a user