From 3719f91cd457560859416eca94507bbc042a7867 Mon Sep 17 00:00:00 2001 From: Elizabeth Engelman <4752801+elizabethengelman@users.noreply.github.com> Date: Thu, 18 Jul 2024 14:43:45 -0400 Subject: [PATCH] Update Name::new to just take in one arg Co-authored-by: Willem Wyndham --- cmd/soroban-cli/src/commands/network/container/start.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/soroban-cli/src/commands/network/container/start.rs b/cmd/soroban-cli/src/commands/network/container/start.rs index 7fb4f94509..3fe752ef6c 100644 --- a/cmd/soroban-cli/src/commands/network/container/start.rs +++ b/cmd/soroban-cli/src/commands/network/container/start.rs @@ -164,7 +164,7 @@ impl Cmd { } fn container_name(&self) -> Name { - Name::new(self.name.clone(), Some(self.network)) + Name::new(self.name.cloned().unwrap_or(self.network)) } fn print_log_message(&self) {