Skip to content

Commit

Permalink
fix(daemon-2): remove unwanted doc tests
Browse files Browse the repository at this point in the history
Signed-off-by: Julien Loudet <julien.loudet@zettascale.tech>
  • Loading branch information
J-Loudet committed Jan 31, 2024
1 parent 0c1e723 commit 6e5bcfe
Showing 1 changed file with 5 additions and 13 deletions.
18 changes: 5 additions & 13 deletions zenoh-flow-daemon-2/src/selectors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,9 @@ fn try_autocanonize(maybe_ke: String) -> Result<OwnedKeyExpr> {
/// 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/<runtime id>/instances "
///
/// `zenoh-flow/{runtime id}/instances`
///
/// where `{runtime id}` corresponds to the unique identifier of the chosen runtime.
/// where `<runtime id>` 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<OwnedKeyExpr> {
Expand All @@ -48,9 +46,7 @@ pub fn selector_instances(runtime_id: &RuntimeId) -> Result<OwnedKeyExpr> {
/// 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
///
Expand All @@ -62,9 +58,7 @@ pub fn selector_all_instances() -> Result<OwnedKeyExpr> {

/// 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 id>/runtime "
///
/// where `{runtime id}` corresponds to the unique identifier of the chosen runtime.
pub fn selector_runtimes(runtime_id: &RuntimeId) -> Result<OwnedKeyExpr> {
Expand All @@ -73,9 +67,7 @@ pub fn selector_runtimes(runtime_id: &RuntimeId) -> Result<OwnedKeyExpr> {

/// 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
///
Expand Down

0 comments on commit 6e5bcfe

Please sign in to comment.