]> git.proxmox.com Git - pve-installer.git/commit
tui: setup: handle missing disk block size gracefully
authorChristoph Heiss <c.heiss@proxmox.com>
Wed, 9 Aug 2023 13:44:25 +0000 (15:44 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 23 Aug 2023 08:19:56 +0000 (10:19 +0200)
commit749572552d7fed3904e00229a1db30ef6364a379
tree96eb8ba275b157b2b4bddb2919124bcbed06f337
parent15b2cd763212c41aca7345135294c4bc0b6373c0
tui: setup: handle missing disk block size gracefully

As that value can indeed be undefined, handle that (edge-)case
gracefully. There is only one place where it is checked, in the ZFS RAID
setup dialog. Aligns it with how the low-level installer handles that
case too.

Signed-off-by: Christoph Heiss <c.heiss@proxmox.com>
proxmox-tui-installer/src/options.rs
proxmox-tui-installer/src/setup.rs
proxmox-tui-installer/src/views/bootdisk.rs