Skip to content

Commit

Permalink
Improve data routing
Browse files Browse the repository at this point in the history
  • Loading branch information
OlivierHecart committed Mar 3, 2021
1 parent ebe3bc8 commit 5c4a744
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zenoh/src/net/routing/pubsub.rs
Original file line number Diff line number Diff line change
Expand Up @@ -965,7 +965,7 @@ pub async fn route_data(
)
.unwrap()
.index();
match Resource::get_resource(prefix, suffix) {
match &res {
Some(res) => res.routers_data_routes[local_context].clone(),
None => compute_data_route(
tables,
Expand Down

0 comments on commit 5c4a744

Please sign in to comment.