[pve-devel] applied: [PATCH common 2/2] schema: check format: parse list formats as arrays

Thomas Lamprecht t.lamprecht at proxmox.com
Mon May 3 13:05:58 CEST 2021


On 18.03.21 09:44, Fabian Ebner wrote:
> Previously, the returned value would be only the last element or undef in case
> of an empty list. There's only a handful of callers of check_format() that look
> at the return value and AFAICT none of the exisitng ones is for a -list format.
> But best to avoid any future surprises.
> 
> Signed-off-by: Fabian Ebner <f.ebner at proxmox.com>
> ---
>  src/PVE/JSONSchema.pm | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
>

applied, thanks!





More information about the pve-devel mailing list