mirror of
https://git.proxmox.com/git/pve-manager
synced 2026-01-04 04:33:19 +00:00
bulk migration: only pass 'with-local-disks' along if defined
To make it backward compaitble. NBo real harm without this, but lots of ugly undefiend $val warnings... Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
71fd3de92e
commit
13411f9938
@ -1953,8 +1953,8 @@ my $create_migrate_worker = sub {
|
||||
vmid => $vmid,
|
||||
target => $target,
|
||||
online => $online,
|
||||
'with-local-disks' => $with_local_disks
|
||||
};
|
||||
$params->{'with-local-disks'} = $with_local_disks if defined($with_local_disks);
|
||||
|
||||
$upid = PVE::API2::Qemu->migrate_vm($params);
|
||||
} else {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user