mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2025-07-19 03:11:41 +02:00
Fix missing colon in netstat collector
This commit is contained in:
@@ -38,7 +38,7 @@ func (m *NetstatCollector) Init(config []byte) error {
|
||||
return err
|
||||
}
|
||||
}
|
||||
_, err = ioutil.ReadFile(string(NETSTATFILE))
|
||||
_, err := ioutil.ReadFile(string(NETSTATFILE))
|
||||
if err == nil {
|
||||
m.init = true
|
||||
}
|
||||
|
Reference in New Issue
Block a user