Skip to content

Commit

Permalink
fix: lints
Browse files Browse the repository at this point in the history
  • Loading branch information
wyfo committed Sep 9, 2024
1 parent 931ff84 commit 3b1fc2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zenoh/src/api/admin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,14 +110,14 @@ pub(crate) fn on_admin_query(session: &Session, query: &Query) {
.block_in_place(session.runtime.manager().get_transports_unicast())
{
if let Ok(peer) = transport.get_peer() {
reply_peer(own_zid, &query, peer);
reply_peer(own_zid, query, peer);
}
}
for transport in zenoh_runtime::ZRuntime::Net
.block_in_place(session.runtime.manager().get_transports_multicast())
{
for peer in transport.get_peers().unwrap_or_default() {
reply_peer(own_zid, &query, peer);
reply_peer(own_zid, query, peer);
}
}
}
Expand Down

0 comments on commit 3b1fc2a

Please sign in to comment.