Skip to content

Commit 18e1358

Browse files
authored
Merge branch 'main' into astandrik.add-dimming-to-vdisk-pdisk-pages-1373
2 parents 2d95afe + 8ef7604 commit 18e1358

File tree

2 files changed

+7
-10
lines changed

2 files changed

+7
-10
lines changed

src/containers/Tablet/components/TabletStorageInfo/TabletStorageInfo.scss

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,8 @@
5151

5252
border-bottom: 1px solid var(--g-color-line-generic);
5353
}
54-
:is(#{$block}__table-cell) {
55-
height: 40px;
56-
padding: 0;
57-
@include text-body-2();
58-
}
59-
&__table-cell {
60-
&_align_right {
61-
text-align: right;
62-
}
54+
:is(&__table-cell_align_right) {
55+
text-align: right;
6356
}
6457
&__metrics-cell {
6558
padding: var(--g-spacing-1) var(--g-spacing-2);

src/types/api/cluster.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,14 @@ export interface TClusterInfoV2 extends TClusterInfoV1 {
7171
};
7272
StorageStats?: TStorageStats[];
7373
Version?: number;
74+
/** value is uint64 */
75+
CoresUsed?: string;
7476
}
7577

7678
export type TClusterInfo = TClusterInfoV1 | TClusterInfoV2;
7779

7880
export function isClusterInfoV2(info?: TClusterInfo): info is TClusterInfoV2 {
79-
return info ? 'Version' in info && info.Version === 2 : false;
81+
return info
82+
? 'Version' in info && typeof info.Version === 'number' && info.Version >= 2
83+
: false;
8084
}

0 commit comments

Comments
 (0)