Skip to content

Commit 61641d2

Browse files
fix(collector): keep existing device type
1 parent 5f7e4a3 commit 61641d2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

collector/pkg/detect/detect.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ func (d *Detect) SmartCtlInfo(device *models.Device) error {
8484
device.RotationSpeed = availableDeviceInfo.RotationRate
8585
device.Capacity = availableDeviceInfo.Capacity()
8686
device.FormFactor = availableDeviceInfo.FormFactor.Name
87-
device.DeviceType = availableDeviceInfo.Device.Type
8887
device.DeviceProtocol = availableDeviceInfo.Device.Protocol
8988
if len(availableDeviceInfo.Vendor) > 0 {
9089
device.Manufacturer = availableDeviceInfo.Vendor

0 commit comments

Comments
 (0)