make it caps cause others are caps too :)
This commit is contained in:
@ -585,7 +585,7 @@ sub get_disks {
|
|||||||
if ($sysdata->{rotational} == 0) {
|
if ($sysdata->{rotational} == 0) {
|
||||||
$type = 'ssd';
|
$type = 'ssd';
|
||||||
$type = 'nvme' if $dev =~ m/^nvme\d+n\d+$/;
|
$type = 'nvme' if $dev =~ m/^nvme\d+n\d+$/;
|
||||||
$type = 'pmem' if $dev =~ m/^pmem\d+s$/;
|
$type = 'PMEM' if $dev =~ m/^pmem\d+s$/;
|
||||||
$data->{rpm} = 0;
|
$data->{rpm} = 0;
|
||||||
} elsif ($sysdata->{rotational} == 1) {
|
} elsif ($sysdata->{rotational} == 1) {
|
||||||
if ($data->{rpm} != -1) {
|
if ($data->{rpm} != -1) {
|
||||||
|
|||||||
Reference in New Issue
Block a user