mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-08-05 12:46:25 +00:00
migration: sort volumes migrated with storage_migrate
Having a deterministic order here is useful for testing. Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
This commit is contained in:
parent
7d730f953c
commit
eb3acec88a
@ -610,7 +610,7 @@ sub sync_disks {
|
||||
|
||||
$self->log('info', "copying local disk images") if scalar(%$local_volumes);
|
||||
|
||||
foreach my $volid (keys %$local_volumes) {
|
||||
foreach my $volid (sort keys %$local_volumes) {
|
||||
my ($sid, $volname) = PVE::Storage::parse_volume_id($volid);
|
||||
my $targetsid = PVE::QemuServer::map_storage($self->{opts}->{storagemap}, $sid);
|
||||
my $ref = $local_volumes->{$volid}->{ref};
|
||||
|
Loading…
Reference in New Issue
Block a user