From 794276f7f5570ecad63ce94c885c19206e7d3942 Mon Sep 17 00:00:00 2001 From: Julien Enoch Date: Tue, 9 Jan 2024 16:15:02 +0100 Subject: [PATCH] Remove mode router --- zenoh-bridge-ros2dds/src/zenoh_args.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/zenoh-bridge-ros2dds/src/zenoh_args.rs b/zenoh-bridge-ros2dds/src/zenoh_args.rs index e0999f2..587b9ee 100644 --- a/zenoh-bridge-ros2dds/src/zenoh_args.rs +++ b/zenoh-bridge-ros2dds/src/zenoh_args.rs @@ -21,7 +21,6 @@ use zenoh::config::Config; pub enum Wai { Peer, Client, - Router, } impl core::fmt::Display for Wai { fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { @@ -64,7 +63,6 @@ impl From<&CommonArgs> for Config { match value.mode { Wai::Peer => config.set_mode(Some(zenoh::scouting::WhatAmI::Peer)), Wai::Client => config.set_mode(Some(zenoh::scouting::WhatAmI::Client)), - Wai::Router => config.set_mode(Some(zenoh::scouting::WhatAmI::Router)), } .unwrap(); if !value.connect.is_empty() {