[pve-devel] applied: [PATCH v2 qemu-server] vm status: force int where appropriate
Thomas Lamprecht
t.lamprecht at proxmox.com
Thu Jun 17 14:49:42 CEST 2021
On 01.06.21 08:43, Fabian Ebner wrote:
> to avoid potential problems with stringified numbers in Javascript and
> elsewehere.
>
> The vmid was not always an integer as the return schema expects, namely
> when there was an opt_vmid argument, because the 'ne' comparision coerced the
> vmid to be a string then.
>
> Signed-off-by: Fabian Ebner <f.ebner at proxmox.com>
> ---
>
> Changes from v1:
> * also make vmid an integer.
>
> PVE/QemuServer.pm | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
>
applied, thanks!
More information about the pve-devel
mailing list