[pve-devel] [PATCH] pending api : fix parsing 0 value

Dietmar Maurer dietmar at proxmox.com
Thu Jan 15 06:25:57 CET 2015


Ok, I got it now. Thanks for the example. Just applied your patch.

On 01/12/2015 04:36 PM, Alexandre DERUMIER wrote
> for example:
>
>
> kvm:0
> [PENDING]
> kvm:1
>
>
> should be
>
> {"value":0,"pending":1,"key":"kvm"}
>
>
> without this patch
>
> {"value":0,"pending":1,"key":"kvm"},{"pending":1,"key":"kvm"}
>
>
> (and in pve-manager, I think that the second one override the first one, so value is empty)
>
>





More information about the pve-devel mailing list