From 6d44282dbbfa950f9018086196edd45a5efa496d Mon Sep 17 00:00:00 2001 From: Elizabeth Engelman <4752801+elizabethengelman@users.noreply.github.com> Date: Fri, 7 Jun 2024 11:18:07 -0400 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Leigh McCulloch <351529+leighmcculloch@users.noreply.github.com> --- cmd/soroban-cli/src/commands/network/container/logs.rs | 1 - cmd/soroban-cli/src/commands/network/mod.rs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/cmd/soroban-cli/src/commands/network/container/logs.rs b/cmd/soroban-cli/src/commands/network/container/logs.rs index f630aa788..9d35782ef 100644 --- a/cmd/soroban-cli/src/commands/network/container/logs.rs +++ b/cmd/soroban-cli/src/commands/network/container/logs.rs @@ -26,7 +26,6 @@ pub struct Cmd { impl Cmd { pub async fn run(&self) -> Result<(), Error> { let container_name = format!("stellar-{}", self.network); - println!("ℹ️ Tailing logs for {container_name}"); let docker = connect_to_docker(&self.docker_host).await?; let logs_stream = &mut docker.logs( &container_name, diff --git a/cmd/soroban-cli/src/commands/network/mod.rs b/cmd/soroban-cli/src/commands/network/mod.rs index b513a6218..581b965a0 100644 --- a/cmd/soroban-cli/src/commands/network/mod.rs +++ b/cmd/soroban-cli/src/commands/network/mod.rs @@ -101,7 +101,7 @@ impl Cmd { // TODO Remove this once `network start` is removed Cmd::Start(cmd) => { - println!("⚠️ Warning: `network start` has been deprecated. Use `network container start` instead"); + eprintln!("⚠️ Warning: `network start` has been deprecated. Use `network container start` instead"); cmd.run().await?; } // TODO Remove this once `network stop` is removed