We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85d65bd commit dee392bCopy full SHA for dee392b
smartctl.go
@@ -72,7 +72,7 @@ func NewSMARTctl(logger *slog.Logger, json gjson.Result, ch chan<- prometheus.Me
72
var device_name string
73
var device_interface string
74
if strings.Contains(strings.ToLower(json.Get("device.info_name").String()), "cciss") {
75
- // Correct the "device name" to be what is exected in buildDeviceLabel
+ // Correct the "device name" to be what is expected in buildDeviceLabel
76
// For a CCISS device typically device.name is just /dev/sda
77
// The info_name is reported as "/dev/sda [cciss_disk_NN] [SCSI]"
78
tmp := json.Get("device.info_name").String()
0 commit comments