On 18.02.22 09:58, Mira Limbeck wrote:
> Perl's automatic conversion can lead to integers being converted to
> strings, for example by matching it in a regex.
> 
> To make sure we always return an integer in the API call, add an
> explicit cast to integer.
> 
> Signed-off-by: Mira Limbeck <m.limb...@proxmox.com>
> Reviewed-by: Fabian Ebner <f.eb...@proxmox.com>
> ---
> v3:
>  - fixed style nits
>  - added R-b tag
> v2:
>  - new
> 
>  PVE/API2/Storage/Content.pm | 8 +++++---
>  1 file changed, 5 insertions(+), 3 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