File tree Expand file tree Collapse file tree 2 files changed +7
-10
lines changed
containers/Tablet/components/TabletStorageInfo Expand file tree Collapse file tree 2 files changed +7
-10
lines changed Original file line number Diff line number Diff line change 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 );
Original file line number Diff line number Diff 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
7678export type TClusterInfo = TClusterInfoV1 | TClusterInfoV2 ;
7779
7880export 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}
You can’t perform that action at this time.
0 commit comments