mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-08-03 06:08:31 +00:00
code cleanup
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
ee43cd487c
commit
f0dbdb6896
@ -2854,8 +2854,8 @@ __PACKAGE__->register_method({
|
||||
my $skipcomplete = ($total_jobs != $i); # finish after last drive
|
||||
|
||||
my $src_sid = PVE::Storage::parse_volume_id($drive->{file});
|
||||
my $storage_list = [$src_sid];
|
||||
push @$storage_list, $storage if (defined($storage));
|
||||
my $storage_list = [ $src_sid ];
|
||||
push @$storage_list, $storage if defined($storage);
|
||||
my $clonelimit = PVE::Storage::get_bandwidth_limit('clone', $storage_list, $bwlimit);
|
||||
|
||||
my $newdrive = PVE::QemuServer::clone_disk($storecfg, $vmid, $running, $opt, $drive, $snapname,
|
||||
|
Loading…
Reference in New Issue
Block a user