On 18.11.20 11:04, Fabian Ebner wrote:
> adapted from PBS. Main differences are:
>     * loading of the prune-backups options from the storage configuration if
>       configured
>     * API has GET/DELETE distinction instead of 'dry-run'
>     * API expects a single property string for the prune options
> 
> Also, had to change the clear trigger, because now there can be original
> values (from the storage config), but it doesn't really make sense to
> reset to that value when clearing, so always set to 'null' when clearing
> 
> Signed-off-by: Fabian Ebner <f.eb...@proxmox.com>
> ---
> 
> Changes from v3:
>     * don't use grouping headers with a prune button. Instead use a button in
>       the toolbar which displays the group to be pruned
>     * always use 'lxc' and 'qemu' as backup types (which the PVE API expects) 
> instead
>       of 'VM' and 'CT' as types, to avoid some conversion
> 

I added the keep input field and a prune keep panel to proxmox-widget-toolkit,
so at least the input field should be reusable here.



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

Reply via email to