Skip to content

Commit

Permalink
fix(cli): ignore port when comparing configure url with expected url
Browse files Browse the repository at this point in the history
Resolves #2863

Signed-off-by: Reuben Miller <[email protected]>
  • Loading branch information
reubenmiller committed May 8, 2024
1 parent 80dacce commit 77a9f56
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions crates/core/tedge/src/cli/connect/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,7 @@ impl Command for ConnectCommand {
.c8y
.mqtt
.or_none()
.cloned()
.map(|u| u.to_string())
.map(|u| u.host().to_string())
.unwrap_or_default(),
);
}
Expand Down

0 comments on commit 77a9f56

Please sign in to comment.