mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-08-12 04:05:07 +00:00
reassign disk: more cleanup
avoid re-using the toplevel variable name Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
parent
441024921e
commit
a6273aa8bf
@ -3646,8 +3646,8 @@ __PACKAGE__->register_method({
|
||||
if $vmid eq $target_vmid;
|
||||
|
||||
my (undef, undef, $drive) = &$load_and_check_reassign_configs();
|
||||
my $storeid = PVE::Storage::parse_volume_id($drive->{file});
|
||||
$rpcenv->check($authuser, "/storage/$storeid", ['Datastore.AllocateSpace']);
|
||||
my $storage = PVE::Storage::parse_volume_id($drive->{file});
|
||||
$rpcenv->check($authuser, "/storage/$storage", ['Datastore.AllocateSpace']);
|
||||
|
||||
return $rpcenv->fork_worker(
|
||||
'qmmove',
|
||||
|
Loading…
Reference in New Issue
Block a user