Skip to content

Commit bd9e5ba

Browse files
committed
fix: display HDD instead of ROT as pdisk type
1 parent b0fb436 commit bd9e5ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utils/pdisk.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export const parseBitField = <T extends Record<string, number>>(
2828
};
2929

3030
export enum IPDiskType {
31-
ROT = 'ROT',
31+
HDD = 'HDD', // ROT (Rotation?) = HDD
3232
SSD = 'SSD',
3333
MVME = 'NVME',
3434
}
@@ -67,7 +67,7 @@ export const getPDiskType = (data: TPDiskStateInfo): IPDiskType | undefined => {
6767
return IPDiskType.MVME;
6868
}
6969
} else if (categoryBitField.typeExt === '0') {
70-
return IPDiskType.ROT;
70+
return IPDiskType.HDD;
7171
}
7272

7373
return undefined;

0 commit comments

Comments
 (0)