with Shannon's R-B On September 9, 2025 11:01 am, Fabian Grünbichler wrote: > otherwise the next patch would add another level of indentation here via > rustfmt.. > > Signed-off-by: Fabian Grünbichler <[email protected]> > --- > src/bin/proxmox-offline-mirror.rs | 6 ++---- > 1 file changed, 2 insertions(+), 4 deletions(-) > > diff --git a/src/bin/proxmox-offline-mirror.rs > b/src/bin/proxmox-offline-mirror.rs > index 8fd8415..265129f 100644 > --- a/src/bin/proxmox-offline-mirror.rs > +++ b/src/bin/proxmox-offline-mirror.rs > @@ -197,10 +197,8 @@ fn action_add_mirror(config: &SectionConfigData) -> > Result<Vec<MirrorConfig>, Er > let mut use_subscription = None; > let mut extra_repos = Vec::new(); > > - let (repository, key_path, architectures, suggested_id, skip) = if > read_bool_from_tty( > - "Guided Setup", > - Some(true), > - )? { > + let guided = read_bool_from_tty("Guided Setup", Some(true))?; > + let (repository, key_path, architectures, suggested_id, skip) = if > guided { > let distros = &[ > (Distro::Pve, "Proxmox VE"), > (Distro::Pbs, "Proxmox Backup Server"), > -- > 2.47.3 > > > > _______________________________________________ > pve-devel mailing list > [email protected] > https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel >
_______________________________________________ pve-devel mailing list [email protected] https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
