Skip to content

Commit

Permalink
todos added
Browse files Browse the repository at this point in the history
  • Loading branch information
milyin committed Jan 15, 2024
1 parent 428bae7 commit 0d3393e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions plugins/zenoh-plugin-storage-manager/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,7 @@ impl RunningPluginTrait for StorageRuntime {
) -> ZResult<Vec<zenoh::plugins::Response>> {
let mut responses = Vec::new();
let mut key = String::from(plugin_status_key);
// TODO: to be removed when "__version__" is implemented in admin space
with_extended_string(&mut key, &["/version"], |key| {
if keyexpr::new(key.as_str())
.unwrap()
Expand Down
1 change: 1 addition & 0 deletions zenoh/src/net/runtime/adminspace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -683,6 +683,7 @@ fn plugins_status(context: &AdminContext, query: Query) {

for plugin in guard.started_plugins() {
with_extended_string(&mut root_key, &[plugin.name()], |plugin_key| {
// TODO: reqponse to "__version__" also, this need noot to be implemented by each plugin
with_extended_string(plugin_key, &["/__path__"], |plugin_path_key| {
if let Ok(key_expr) = KeyExpr::try_from(plugin_path_key.clone()) {
if query.key_expr().intersects(&key_expr) {
Expand Down

0 comments on commit 0d3393e

Please sign in to comment.