Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Leigh McCulloch <[email protected]>
  • Loading branch information
elizabethengelman and leighmcculloch authored Jun 7, 2024
1 parent f950d2c commit 6d44282
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion cmd/soroban-cli/src/commands/network/container/logs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion cmd/soroban-cli/src/commands/network/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6d44282

Please sign in to comment.