Fix filtering in mon

master
Vitaliy Filippov 2024-04-09 14:50:47 +03:00
parent dff4879c8c
commit 57bf84ddb2
1 changed files with 2 additions and 2 deletions

View File

@ -1197,7 +1197,7 @@ class Mon
{
return;
}
pool_tree = pool_tree[pool_cfg.root_node];
pool_tree = pool_tree[root_node];
const cur = [ ...(pool_tree||{}).children||[] ];
for (let i = 0; i < cur.length; i++)
{
@ -1240,7 +1240,7 @@ class Mon
osd_stat.immediate_commit == 'small' && immediate_commit == 'all' ||
osd_stat.immediate_commit == 'none' && immediate_commit != 'none'))
{
delete orig_tree[host][osd];
delete orig_tree[osd];
}
}
}