We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22bc779 commit 6a07562Copy full SHA for 6a07562
src/utils/disks/calculateVDiskSeverity.ts
@@ -1,4 +1,4 @@
1
-import type {EFlag} from '../../types/api/enums';
+import {EFlag} from '../../types/api/enums';
2
import type {EVDiskState} from '../../types/api/vdisk';
3
4
import {
@@ -52,5 +52,10 @@ function getColorSeverity(color?: EFlag) {
52
return NOT_AVAILABLE_SEVERITY;
53
}
54
55
+ // Blue is reserved for not replicated VDisks
56
+ if (color === EFlag.Blue) {
57
+ return DISK_COLOR_STATE_TO_NUMERIC_SEVERITY.Green;
58
+ }
59
+
60
return DISK_COLOR_STATE_TO_NUMERIC_SEVERITY[color] ?? NOT_AVAILABLE_SEVERITY;
61
0 commit comments