From 6e5bcfee871f20ba1ad30ec7c45eeb47096b87c6 Mon Sep 17 00:00:00 2001 From: Julien Loudet Date: Wed, 31 Jan 2024 20:01:08 +0100 Subject: [PATCH] fix(daemon-2): remove unwanted doc tests Signed-off-by: Julien Loudet --- zenoh-flow-daemon-2/src/selectors.rs | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/zenoh-flow-daemon-2/src/selectors.rs b/zenoh-flow-daemon-2/src/selectors.rs index 1ea81f99..f0ead04e 100644 --- a/zenoh-flow-daemon-2/src/selectors.rs +++ b/zenoh-flow-daemon-2/src/selectors.rs @@ -34,11 +34,9 @@ fn try_autocanonize(maybe_ke: String) -> Result { /// Helper function to generate an [OwnedKeyExpr] to query the data flow instances managed by a specific Zenoh-Flow /// runtime. /// -/// The generated key expression has the following structure: +/// The generated key expression has the following structure: " zenoh-flow//instances " /// -/// `zenoh-flow/{runtime id}/instances` -/// -/// where `{runtime id}` corresponds to the unique identifier of the chosen runtime. +/// where `` corresponds to the unique identifier of the chosen runtime. /// /// To obtain the list of available Zenoh-Flow runtimes, a query can be made on [runtime::KE_ALL]. pub fn selector_instances(runtime_id: &RuntimeId) -> Result { @@ -48,9 +46,7 @@ pub fn selector_instances(runtime_id: &RuntimeId) -> Result { /// Helper function to generate an [OwnedKeyExpr] to query the data flow instances managed by all the reachable /// Zenoh-Flow runtimes. /// -/// The generated key expression has the following structure: -/// -/// `zenoh-flow/*/instances` +/// The generated key expression has the following structure: " zenoh-flow/*/instances " /// /// # Performance /// @@ -62,9 +58,7 @@ pub fn selector_all_instances() -> Result { /// Helper function to generate an [OwnedKeyExpr] to query the provided runtime. /// -/// The generated key expression has the following structure: -/// -/// `zenoh-flow/{runtime id}/runtime` +/// The generated key expression has the following structure: " zenoh-flow//runtime " /// /// where `{runtime id}` corresponds to the unique identifier of the chosen runtime. pub fn selector_runtimes(runtime_id: &RuntimeId) -> Result { @@ -73,9 +67,7 @@ pub fn selector_runtimes(runtime_id: &RuntimeId) -> Result { /// Helper function to generate an [OwnedKeyExpr] to query all the reachable Zenoh-Flow runtimes. /// -/// The generated key expression has the following structure: -/// -/// `zenoh-flow/*/runtime` +/// The generated key expression has the following structure: " zenoh-flow/*/runtime " /// /// # Performance ///