Skip to content

Commit

Permalink
Update Name::new to just take in one arg
Browse files Browse the repository at this point in the history
Co-authored-by: Willem Wyndham <[email protected]>
  • Loading branch information
elizabethengelman and willemneal authored Jul 18, 2024
1 parent 6fbb3f3 commit 3719f91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/soroban-cli/src/commands/network/container/start.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 3719f91

Please sign in to comment.