On 01.06.21 08:43, Fabian Ebner wrote:
> In the case of a running container with cgroupv2, swap would be a string,
> causing a
>     size.toFixed is not a function
> error for the format_size call in the containers's "Summary" page in the UI.
> 
> The vmids from config_list() are already integers as the return schema 
> expects,
> while the opt_vmid passed from the status/current API call needs to be
> converted.
> 
> Signed-off-by: Fabian Ebner <f.eb...@proxmox.com>
> ---
> 
> Changes from v1:
>     * also make vmid an integer.
> 
>  src/PVE/LXC.pm | 16 ++++++++--------
>  1 file changed, 8 insertions(+), 8 deletions(-)
> 
>

applied, thanks!


_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to