mirror of
https://git.proxmox.com/git/pve-installer
synced 2025-04-28 22:12:22 +00:00
tui: rename SetupInfo::product_cfg
-> ::config
Signed-off-by: Christoph Heiss <c.heiss@proxmox.com>
This commit is contained in:
parent
81f9348c14
commit
fbfd1838a6
@ -80,7 +80,7 @@ impl InstallerView {
|
||||
pub fn with_raw(state: &InstallerState, view: impl View) -> Self {
|
||||
let setup = &state.setup_info;
|
||||
|
||||
let logo = match setup.product_cfg.product {
|
||||
let logo = match setup.config.product {
|
||||
ProxmoxProduct::PVE => LOGO_PVE,
|
||||
ProxmoxProduct::PBS => LOGO_PBS,
|
||||
ProxmoxProduct::PMG => LOGO_PMG,
|
||||
@ -88,7 +88,7 @@ impl InstallerView {
|
||||
|
||||
let title = format!(
|
||||
"{} ({}-{}) Installer",
|
||||
setup.product_cfg.fullname, setup.iso_info.release, setup.iso_info.isorelease
|
||||
setup.config.fullname, setup.iso_info.release, setup.iso_info.isorelease
|
||||
);
|
||||
|
||||
let inner = LinearLayout::vertical()
|
||||
|
@ -28,7 +28,7 @@ pub struct IsoInfo {
|
||||
#[derive(Clone, Deserialize)]
|
||||
pub struct SetupInfo {
|
||||
#[serde(rename = "product-cfg")]
|
||||
pub product_cfg: ProductConfig,
|
||||
pub config: ProductConfig,
|
||||
#[serde(rename = "iso-info")]
|
||||
pub iso_info: IsoInfo,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user