Skip to content

Commit 5dbb7c6

Browse files
authored
Fix PDisk FAULTY status in CMS UI (#5228) (#5760)
1 parent 20c3a09 commit 5dbb7c6

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

ydb/core/cms/ui/sentinel_state.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ TPDiskState[253] = "Timeout";
2222
TPDiskState[254] = "NodeDisconnected";
2323
TPDiskState[255] = "Unknown";
2424

25-
const EPDiskStatus = [
26-
"UNKNOWN",
27-
"ACTIVE",
28-
"INACTIVE",
29-
"BROKEN",
30-
"FAULTY",
31-
"TO_BE_REMOVED",
32-
];
25+
const EPDiskStatus = {
26+
0: "UNKNOWN",
27+
1: "ACTIVE",
28+
2: "INACTIVE",
29+
3: "BROKEN",
30+
5: "FAULTY",
31+
6: "TO_BE_REMOVED",
32+
};
3333

3434
const PDiskHeaders = [
3535
"PDiskId",

0 commit comments

Comments
 (0)