]> git.proxmox.com Git - pve-installer.git/commitdiff
tui: fix small typo in error message
authorChristoph Heiss <c.heiss@proxmox.com>
Thu, 13 Jul 2023 09:49:26 +0000 (11:49 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 21 Jul 2023 11:45:35 +0000 (13:45 +0200)
Fixes: 994c4ff ("tui: add better error handling to BootdiskOptions::get_values()")
Signed-off-by: Christoph Heiss <c.heiss@proxmox.com>
proxmox-tui-installer/src/views/bootdisk.rs

index 552cbc4c5b895155262bf6e287f48ffcfc70f7dd..6ef814f6062375406a0ee953126dac2bf9984fd8 100644 (file)
@@ -65,7 +65,7 @@ impl BootdiskOptionsView {
                 .and_then(|v| v.downcast_mut::<NamedView<FormView>>())
                 .map(NamedView::<FormView>::get_mut)
                 .and_then(|v| v.get_value::<SelectView<Disk>, _>(0))
-                .ok_or("failed to retrieve filesystem type")?;
+                .ok_or("failed to retrieve bootdisk")?;
 
             options.disks = vec![disk];
         }