dont ignore NVME storage controllers.

pull/41/head
Jason Kulatunga 4 years ago
parent 6bee0d1489
commit a7cd912318

@ -50,12 +50,6 @@ func (c *BaseCollector) DetectStorageDevices() ([]models.Device, error) {
continue continue
} }
// ignore NVMe devices (not currently supported) TBA
if disk.StorageController == ghw.STORAGE_CONTROLLER_NVME {
c.logger.Debugf(" => Ignore: NVMe storage controller - (found %s)\n", disk.StorageController.String())
continue
}
// Skip unknown storage controllers, not usually S.M.A.R.T compatible. // Skip unknown storage controllers, not usually S.M.A.R.T compatible.
if disk.StorageController == ghw.STORAGE_CONTROLLER_UNKNOWN { if disk.StorageController == ghw.STORAGE_CONTROLLER_UNKNOWN {
c.logger.Debugf(" => Ignore: Unknown storage controller - (found %s)\n", disk.StorageController.String()) c.logger.Debugf(" => Ignore: Unknown storage controller - (found %s)\n", disk.StorageController.String())

Loading…
Cancel
Save