mirror of
git://git.proxmox.com/git/qemu-server.git
synced 2025-08-04 08:21:54 +03:00
migration: status check: order states in regex alphabetically
Signed-off-by: Fiona Ebner <f.ebner@proxmox.com> Link: https://lore.proxmox.com/20250728143042.103045-2-f.ebner@proxmox.com
This commit is contained in:
committed by
Thomas Lamprecht
parent
fb7e0904b7
commit
d3842716a1
@ -1354,7 +1354,7 @@ sub phase2 {
|
||||
next;
|
||||
}
|
||||
|
||||
if (!defined($status) || $status !~ m/^(active|completed|failed|cancelled)$/im) {
|
||||
if (!defined($status) || $status !~ m/^(active|cancelled|completed|failed)$/im) {
|
||||
die $merr if $merr;
|
||||
die "unable to parse migration status '$status' - aborting\n";
|
||||
}
|
||||
|
Reference in New Issue
Block a user