Skip to content

Commit

Permalink
parameters temporary renamed back, clippy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
milyin committed Jun 11, 2024
1 parent 357b90e commit 63ca9cb
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
5 changes: 3 additions & 2 deletions commons/zenoh-protocol/src/core/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,9 @@ pub use resolution::*;
pub mod parameters_view;
pub use parameters_view::*;

pub mod parameters;
pub use parameters::*;
pub mod properties;
pub use properties as parameters;
pub use properties::*;

/// The global unique id of a zenoh peer.
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
Expand Down
2 changes: 1 addition & 1 deletion zenoh/src/api/liveliness.rs
Original file line number Diff line number Diff line change
Expand Up @@ -756,7 +756,7 @@ where
let (callback, receiver) = self.handler.into_handler();
self.session
.query(
&self.key_expr?.into(),
&self.key_expr?,
&Parameters::default(),
&Some(KeyExpr::from(*KE_PREFIX_LIVELINESS)),
QueryTarget::DEFAULT,
Expand Down
1 change: 0 additions & 1 deletion zenoh/src/api/session.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ use super::{
publisher::Publisher,
publisher::{MatchingListenerState, MatchingStatus},
sample::SourceInfo,
selector::TIME_RANGE_KEY,
};
use crate::{
api::selector::PredefinedParameters,
Expand Down
2 changes: 1 addition & 1 deletion zenoh/src/net/runtime/adminspace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -819,7 +819,7 @@ fn plugins_status(context: &AdminContext, query: Query) {
return;
}
match std::panic::catch_unwind(std::panic::AssertUnwindSafe(|| {
plugin.instance().adminspace_getter(&key_expr, plugin_key)
plugin.instance().adminspace_getter(key_expr, plugin_key)
})) {
Ok(Ok(responses)) => {
for response in responses {
Expand Down

0 comments on commit 63ca9cb

Please sign in to comment.