Skip to content

Commit

Permalink
Remove invokation when running plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
gememma committed May 17, 2024
1 parent 957488e commit bb00b1c
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions mirrord/cli/src/extension.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ use mirrord_analytics::{AnalyticsError, AnalyticsReporter, Reporter};
use mirrord_config::LayerConfig;
use mirrord_progress::{JsonProgress, Progress, ProgressTracker};

use crate::{
config::ExtensionExecArgs, error::CliError, execution::MirrordExecution, print_config, Result,
};
use crate::{config::ExtensionExecArgs, error::CliError, execution::MirrordExecution, Result};

/// Actually facilitate execution after all preparations were complete
async fn mirrord_exec<P>(
Expand Down Expand Up @@ -68,11 +66,6 @@ pub(crate) async fn extension_exec(args: ExtensionExecArgs, watch: drain::Watch)
progress.warning(warning);
}

// Print config details for the user in a single message
let mut sub_progress_config = progress.subtask("config summary");
print_config(&sub_progress_config, None, None, &config, true);
sub_progress_config.success(None);

#[cfg(target_os = "macos")]
let execution_result = mirrord_exec(
args.executable.as_deref(),
Expand Down

0 comments on commit bb00b1c

Please sign in to comment.