mirror of
https://github.com/NVIDIA/OpenShell.git
synced 2026-10-17 05:31:16 +08:00
fix(cli): add spacing around gateway recreate prompt
This commit is contained in:
@@ -1346,6 +1346,7 @@ pub async fn gateway_admin_deploy(
|
||||
} else {
|
||||
"volume only"
|
||||
};
|
||||
eprintln!();
|
||||
eprintln!(
|
||||
"{} Gateway '{name}' already exists ({status}).",
|
||||
"!".yellow().bold()
|
||||
@@ -1353,6 +1354,7 @@ pub async fn gateway_admin_deploy(
|
||||
if let Some(image) = &existing.container_image {
|
||||
eprintln!(" {} {}", "Image:".dimmed(), image);
|
||||
}
|
||||
eprintln!();
|
||||
eprint!("Destroy and recreate? [y/N] ");
|
||||
std::io::stderr().flush().ok();
|
||||
let mut input = String::new();
|
||||
|
||||
Reference in New Issue
Block a user