async fn create_pools(&self) -> usize {
        let mut failures = 0;
        if let Some(pools) = self.pools.as_ref() {
            for pool in pools {
                info!("creating pool {}", pool.name);
                if let Err(e) = Lvs::create_or_import(pool.into()).await {
                    error!(
                        "Failed to create pool {}. {}",
                        pool.name,
                        e.verbose()
                    );
                    failures += 1;
                }
            }
        }
        failures
    }
/// Create any pools defined in the config file.
Create any pools defined in the config file.
Create any pools defined in the config file .
async fn create_pools(&self) -> usize {
        let mut failures = 0;
        if let Some(pools) = self.pools.as_ref() {
            for pool in pools {
                info!("creating pool {}", pool.name);
                if let Err(e) = Lvs::create_or_import(pool.into()).await {
                    error!(
                        "Failed to create pool {}. {}",
                        pool.name,
                        e.verbose()
                    );
                    failures += 1;
                }
            }
        }
        failures
    }
async fn create_pools ( & self ) -> usize { let mut failures = 0 ; if let Some ( pools ) = self . pools . as_ref ( ) { for pool in pools { info ! ( " " pool name ) ; if let Err ( e ) = Lvs :: create_or_import ( pool . into ( ) ) . await { error ! ( " " pool name e verbose ( ) ) ; failures += 1 ; } } } failures }
Create any pools defined in the config file.
Create any pools defined in the config file .
&self