Skip to content

Commit

Permalink
Clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
elizabethengelman committed Jun 6, 2024
1 parent 32ee0d0 commit 7ca37e3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 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,7 @@ 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);
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
4 changes: 2 additions & 2 deletions cmd/soroban-cli/src/commands/network/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,12 +102,12 @@ 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");
cmd.run().await?
cmd.run().await?;
}
// TODO Remove this once `network stop` is removed
Cmd::Stop(cmd) => {
println!("⚠️ Warning: `network stop` has been deprecated. Use `network container stop` instead");
cmd.run().await?
cmd.run().await?;
}
};
Ok(())
Expand Down

0 comments on commit 7ca37e3

Please sign in to comment.