Am 15.07.25 um 16:31 schrieb Aaron Lauterer:
> We add a new function to handle different key names, as it would
> otherwise become quite unreadable.
> 
> It checks which key format exists for the type and resource:
> * the old pve2-{type} / pve2.3-vm
> * the new pve-{type}-{version}
> 
> and will return the one that was found. Since we will only have one key
> per resource, we can return on the first hit.
> 
> Signed-off-by: Aaron Lauterer <a.laute...@proxmox.com>
> ---
> 
> Notes:
>     changes since:
>     RFC:
>     * switch from pve9- to pve-{type}-9.0 schema
> 
>  PVE/API2Tools.pm | 28 ++++++++++++++++++++++++----
>  1 file changed, 24 insertions(+), 4 deletions(-)
> 
>

applied, thanks!


_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to