[pve-devel] applied: [PATCH v3 qemu-server 1/3] api: create: refactor parameter check logic

Thomas Lamprecht t.lamprecht at proxmox.com
Thu Apr 28 11:12:55 CEST 2022


On 26.04.22 14:30, Fabian Ebner wrote:
> In preparation to allow passing along certain parameters together with
> 'archive'. Moving the parameter checks to after the
> conflicts-with-'archive' to ensure that the more telling error will
> trigger first.
> 
> All check helpers should handle empty params fine, but check first
> just to make sure and to avoid all the superfluous function calls.
> 
> Signed-off-by: Fabian Ebner <f.ebner at proxmox.com>
> ---
> 
> No changes from v2.
> 
>  PVE/API2/Qemu.pm | 34 ++++++++++++++++++----------------
>  1 file changed, 18 insertions(+), 16 deletions(-)
> 
>

applied, thanks!





More information about the pve-devel mailing list