pub async fn preflight_check(&self, fix: bool) -> Result<(), ClusterCheckError> {
        let mut sys_config: ChartConfig = ChartConfig::sys_builder()
            .version(self.config.chart_version.clone())
            .build()
            .expect("should build config since all required arguments are given");

        if let Some(location) = &self.config.chart_location {
            sys_config.location = location.to_owned().into();
        }

        self.pb_factory
            .println(InstallProgressMessage::PreFlightCheck.msg());
        ClusterChecker::empty()
            .with_local_checks()
            .with_check(SysChartCheck::new(
                sys_config,
                self.config.platform_version.clone(),
            ))
            .run(&self.pb_factory, fix)
            .await?;
        Ok(())
    }
/// Checks if all of the prerequisites for installing Fluvio locally are met
/// and tries to auto-fix the issues observed
Checks if all of the prerequisites for installing Fluvio locally are met
and tries to auto-fix the issues observed
Checks if all of the prerequisites for installing Fluvio locally are met and tries to auto - fix the issues observed
pub async fn preflight_check(&self, fix: bool) -> Result<(), ClusterCheckError> {
        let mut sys_config: ChartConfig = ChartConfig::sys_builder()
            .version(self.config.chart_version.clone())
            .build()
            .expect("should build config since all required arguments are given");
        if let Some(location) = &self.config.chart_location {
            sys_config.location = location.to_owned().into();
        }
        self.pb_factory
            .println(InstallProgressMessage::PreFlightCheck.msg());
        ClusterChecker::empty()
            .with_local_checks()
            .with_check(SysChartCheck::new(
                sys_config,
                self.config.platform_version.clone(),
            ))
            .run(&self.pb_factory, fix)
            .await?;
        Ok(())
    }
pub async fn preflight_check ( & self , fix : bool ) -> Result < ( ) , ClusterCheckError > { let mut sys_config : ChartConfig = ChartConfig :: sys_builder ( ) . version ( self . config . chart_version . clone ( ) ) . build ( ) . expect ( " " ) ; if let Some ( location ) = & self . config . chart_location { sys_config . location = location . to_owned ( ) . into ( ) ; } self . pb_factory . println ( InstallProgressMessage :: PreFlightCheck . msg ( ) ) ; ClusterChecker :: empty ( ) . with_local_checks ( ) . with_check ( SysChartCheck :: new ( sys_config , self . config . platform_version . clone ( ) , ) ) . run ( & self . pb_factory , fix ) . await ? ; Ok ( ( ) ) }
Checks if all of the prerequisites for installing Fluvio locally are met
and tries to auto-fix the issues observed
Checks if all of the prerequisites for installing Fluvio locally are met and tries to auto - fix the issues observed
&self
fix
bool
&self
fix
bool