aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/main.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index d72051f..29da6ea 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -320,6 +320,8 @@ enum RunDeployError {
ProfileWithoutNode,
#[error("Error processing deployment definitions: {0}")]
DeployDataDefsError(#[from] utils::DeployDataDefsError),
+ #[error("Failed to make printable TOML of deployment: {0}")]
+ TomlFormat(#[from] toml::ser::Error),
#[error("{0}")]
PromptDeploymentError(#[from] PromptDeploymentError),
}
@@ -439,6 +441,8 @@ async fn run_deploy(
if interactive {
prompt_deployment(&parts[..])?;
+ } else {
+ print_deployment(&parts[..])?;
}
for (deploy_data, deploy_defs) in &parts {