From 7443a9f69e39d1655b63195d426f52790b8d110b Mon Sep 17 00:00:00 2001 From: Philipp Schuster Date: Tue, 11 Nov 2025 14:21:11 +0100 Subject: [PATCH] misc: fix typo and wording Signed-off-by: Philipp Schuster On-behalf-of: SAP philipp.schuster@sap.com --- vm-migration/src/lib.rs | 2 +- vmm/src/api/mod.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/vm-migration/src/lib.rs b/vm-migration/src/lib.rs index 753202674..16c0a6df8 100644 --- a/vm-migration/src/lib.rs +++ b/vm-migration/src/lib.rs @@ -50,7 +50,7 @@ pub enum MigratableError { #[error("Failed to complete migration for migratable component")] CompleteMigration(#[source] anyhow::Error), - #[error("Failed to release a disk lock before the migration")] + #[error("Failed to release a disk lock")] UnlockError(#[source] anyhow::Error), } diff --git a/vmm/src/api/mod.rs b/vmm/src/api/mod.rs index 96c99f3fc..694eb961b 100644 --- a/vmm/src/api/mod.rs +++ b/vmm/src/api/mod.rs @@ -118,8 +118,8 @@ pub enum ApiError { #[error("The VM could not be snapshotted")] VmSnapshot(#[source] VmError), - /// The VM could not restored. - #[error("The VM could not restored")] + /// The VM could not be restored. + #[error("The VM could not be restored")] VmRestore(#[source] VmError), /// The VM could not be coredumped.