From 3b1fc2abe6442b226f9233d21bec04b616820b8a Mon Sep 17 00:00:00 2001 From: Joseph Perez Date: Mon, 9 Sep 2024 17:34:52 +0200 Subject: [PATCH] fix: lints --- zenoh/src/api/admin.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zenoh/src/api/admin.rs b/zenoh/src/api/admin.rs index f4bd2401c1..4f31e46e91 100644 --- a/zenoh/src/api/admin.rs +++ b/zenoh/src/api/admin.rs @@ -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); } } }