[pve-devel] applied: [PATCH container v2] lxc: resize: fix #2790 return message in case of disk already at size

Thomas Lamprecht t.lamprecht at proxmox.com
Thu Aug 27 09:21:37 CEST 2020


On 26.08.20 10:51, Aaron Lauterer wrote:
> Otherwise the API would return an error message because returning an
> empty value is not defined in the API.
> 
> By dying we avoid confusions as the return will be an error and not a
> successful call which should return a task ID.
> 
> Signed-off-by: Aaron Lauterer <a.lauterer at proxmox.com>
> ---
> v1 -> v2: change from return to die as the result of the feedback to the
> first version [0]
> 
> We should probably align the resize endpoint on the qemu side
> accordingly as right now it has no return values defined at all and does
> not return anything in this case.
> 
> [0] https://lists.proxmox.com/pipermail/pve-devel/2020-August/044597.html
> 
>  src/PVE/API2/LXC.pm | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
>

applied, thanks!





More information about the pve-devel mailing list