mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-08-07 16:21:31 +00:00
fix bug #542: return VMID as integer
This commit is contained in:
parent
40e13560bd
commit
184955dc65
@ -243,7 +243,7 @@ __PACKAGE__->register_method({
|
|||||||
next if !$rpcenv->check($authuser, "/vms/$vmid", [ 'VM.Audit' ], 1);
|
next if !$rpcenv->check($authuser, "/vms/$vmid", [ 'VM.Audit' ], 1);
|
||||||
|
|
||||||
my $data = $vmstatus->{$vmid};
|
my $data = $vmstatus->{$vmid};
|
||||||
$data->{vmid} = $vmid;
|
$data->{vmid} = int($vmid);
|
||||||
push @$res, $data;
|
push @$res, $data;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user