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) {