[pve-devel] applied: [PATCH installer v2] tui: persist disk selection for zfs and btrfs

Thomas Lamprecht t.lamprecht at proxmox.com
Tue Jun 27 16:44:37 CEST 2023


Am 27/06/2023 um 16:15 schrieb Stefan Sterz:
> previously the disk selection was reset if the advanced options
> dialogue was re-opened. this commit adapts the behavior to restore
> the previous selection.
> 
> Signed-off-by: Stefan Sterz <s.sterz at proxmox.com>
> ---
> changes since v2 (thanks @Maximiliano Sandoval):
> 
> * added a comment that the updated `change_default` functions may
>   panic
> * added a comment and renamed the `get_value` function to reflect the
>   new return type better (to `get_value_and_selection`).
> 
>  proxmox-tui-installer/src/options.rs        | 12 +++++-
>  proxmox-tui-installer/src/views/bootdisk.rs | 43 +++++++++++++++------
>  2 files changed, 42 insertions(+), 13 deletions(-)
> 
>

applied, thanks!





More information about the pve-devel mailing list