diff --git a/zenoh-plugin-ros2dds/src/discovered_entities.rs b/zenoh-plugin-ros2dds/src/discovered_entities.rs index 0c03c81..2b713d5 100644 --- a/zenoh-plugin-ros2dds/src/discovered_entities.rs +++ b/zenoh-plugin-ros2dds/src/discovered_entities.rs @@ -213,7 +213,7 @@ impl DiscoveredEntities { { // update the NodeInfo with this Reader's info node.undiscovered_reader.remove(i); - event = node.update_with_writer(&reader); + event = node.update_with_reader(&reader); break; } }