Re-Added NVME

This commit is contained in:
Daniel Legt 2024-01-21 19:14:34 +02:00
parent 4c877e7162
commit 92baa56a1c
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ func GetSystemHardDrives(db *gorm.DB, olderThan *time.Time, newerThan *time.Time
} }
// Filter out nvme drives (M.2) // Filter out nvme drives (M.2)
if cols[1] != "nvme" && cols[5] != "Device" && cols[1] != "usb" { if cols[1] != "usb" {
hd := &HardDrive{ hd := &HardDrive{
Name: cols[0], Name: cols[0],
Transport: cols[1], Transport: cols[1],