Skip to content

Commit dc905d9

Browse files
committed
misc: fix typo and wording
Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de> On-behalf-of: SAP philipp.schuster@sap.com
1 parent 9df48f7 commit dc905d9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

vm-migration/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ pub enum MigratableError {
5050
#[error("Failed to complete migration for migratable component")]
5151
CompleteMigration(#[source] anyhow::Error),
5252

53-
#[error("Failed to release a disk lock before the migration")]
53+
#[error("Failed to release a disk lock")]
5454
UnlockError(#[source] anyhow::Error),
5555
}
5656

vmm/src/api/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,8 @@ pub enum ApiError {
118118
#[error("The VM could not be snapshotted")]
119119
VmSnapshot(#[source] VmError),
120120

121-
/// The VM could not restored.
122-
#[error("The VM could not restored")]
121+
/// The VM could not be restored.
122+
#[error("The VM could not be restored")]
123123
VmRestore(#[source] VmError),
124124

125125
/// The VM could not be coredumped.

0 commit comments

Comments
 (0)