mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-10 14:47:42 +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.
|
/// VMM process.
|
||||||
VmmShutdown(Sender<ApiResponse>),
|
VmmShutdown(Sender<ApiResponse>),
|
||||||
|
|
||||||
//// Resuze the VMM
|
/// Resize the VMM
|
||||||
VmResize(Arc<VmResizeData>, Sender<ApiResponse>),
|
VmResize(Arc<VmResizeData>, Sender<ApiResponse>),
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -323,7 +323,7 @@ pub fn vm_resize(
|
|||||||
) -> ApiResult<()> {
|
) -> ApiResult<()> {
|
||||||
let (response_sender, response_receiver) = channel();
|
let (response_sender, response_receiver) = channel();
|
||||||
|
|
||||||
// Send the VM creation request.
|
// Send the VM resizing request.
|
||||||
api_sender
|
api_sender
|
||||||
.send(ApiRequest::VmResize(data, response_sender))
|
.send(ApiRequest::VmResize(data, response_sender))
|
||||||
.map_err(ApiError::RequestSend)?;
|
.map_err(ApiError::RequestSend)?;
|
||||||
|
Loading…
Reference in New Issue
Block a user