5
0
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:
Fiona Ebner
2025-07-28 16:30:31 +02:00
committed by Thomas Lamprecht
parent fb7e0904b7
commit d3842716a1

View File

@ -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";
}