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.