mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2025-07-31 08:56:06 +02:00
Fix staticcheck warnings (#66)
This commit is contained in:
@@ -54,7 +54,7 @@ func (m *IpmiCollector) Init(config json.RawMessage) error {
|
||||
m.ipmisensors = p
|
||||
}
|
||||
if len(m.ipmitool) == 0 && len(m.ipmisensors) == 0 {
|
||||
return errors.New("No IPMI reader found")
|
||||
return errors.New("no IPMI reader found")
|
||||
}
|
||||
m.init = true
|
||||
return nil
|
||||
|
Reference in New Issue
Block a user