[pve-devel] applied: [PATCH v2 storage] api: config: add/update storage: check for type mismatch first

Thomas Lamprecht t.lamprecht at proxmox.com
Thu Jun 15 14:19:48 CEST 2023


Am 12/06/2023 um 16:27 schrieb Fiona Ebner:
> This avoids confusing errors about other properties when the storage
> type doesn't match. By highlighting that the type doesn't match, users
> should know right away what the issue is.
> 
> Signed-off-by: Fiona Ebner <f.ebner at proxmox.com>
> ---
> 
> Changes in v2:
>     * Avoid unshift, prepend type directly to loop list.
> 
>  src/PVE/API2/Storage/Config.pm | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
>

applied, thanks!





More information about the pve-devel mailing list