Write OSD numbers always as numbers in mon

This commit is contained in:
Vitaliy Filippov
2023-01-01 23:17:42 +03:00
parent 67019f5b02
commit 37a6aff2fa
+1 -1
View File
@@ -21,7 +21,7 @@ function add_pg_history(new_pg_history, new_pg, prev_pgs, prev_pg_history, old_p
{
for (const pg of oh.osd_sets)
{
nh.osd_sets[pg.join(' ')] = pg;
nh.osd_sets[pg.join(' ')] = pg.map(osd_num => Number(osd_num));
}
}
if (oh && oh.all_peers && oh.all_peers.length)