Skip to content

Commit

Permalink
Fix linter 2nd attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
psiegl committed Nov 25, 2024
1 parent c16b12d commit c9cdf97
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions zenoh/src/net/runtime/orchestrator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -901,7 +901,7 @@ impl Runtime {
if let Ok(local_addr) = socket.local_addr() {
if let Ok(iface) =
zenoh_util::net::get_interface_names_by_addr(
local_addr.ip()
local_addr.ip(),
)
{
let endpoint = HelloEndPoint {
Expand All @@ -911,15 +911,15 @@ impl Runtime {
endpoints: hello
.locators
.iter()
.map(|locator|
.map(|locator| {
EndPoint::new(
locator.protocol(),
locator.address(),
locator.metadata(),
"iface=".to_string() + &iface[0],
)
.unwrap()
)
})
.collect()
};
if let Loop::Break = f(endpoint.clone()).await {
Expand Down

0 comments on commit c9cdf97

Please sign in to comment.