fn initialize_env(config: &Config) {
    debug!("Initializing Env.");

    let additional_profiles = match config.config.additional_profiles {
        Some(ref profiles) => Some(profiles),
        None => None,
    };

    set_env_for_config(config.env.clone(), additional_profiles);
}
/// Updates the env for the current execution based on the descriptor.
Updates the env for the current execution based on the descriptor.
Updates the env for the current execution based on the descriptor .
fn initialize_env(config: &Config) {
    debug!("Initializing Env.");
    let additional_profiles = match config.config.additional_profiles {
        Some(ref profiles) => Some(profiles),
        None => None,
    };
    set_env_for_config(config.env.clone(), additional_profiles);
}
fn initialize_env ( config : & Config ) { debug ! ( " " ) ; let additional_profiles = match config . config . additional_profiles { Some ( ref profiles ) => Some ( profiles ) , None => None , } ; set_env_for_config ( config . env . clone ( ) , additional_profiles ) ; }
Updates the env for the current execution based on the descriptor.
Updates the env for the current execution based on the descriptor .
config
&Config
config
&Config