]> git.proxmox.com Git - pve-container.git/commit - src/PVE/API2/LXC.pm
lxc: resize: fix #2790 return message in case of disk already at size
authorAaron Lauterer <a.lauterer@proxmox.com>
Wed, 26 Aug 2020 08:51:26 +0000 (10:51 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 27 Aug 2020 07:21:26 +0000 (09:21 +0200)
commit5c36822a318f6fb5e912d5257bc6af00804a9bc3
tree3d2837448019d258808ee607d569545dc3526103
parentd79b051ab14f1ef54bd074c1979c0d67fba07780
lxc: resize: fix #2790 return message in case of disk already at size

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@proxmox.com>
src/PVE/API2/LXC.pm