mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2024-12-25 15:09:05 +01:00
Fix missing colon in netstat collector
This commit is contained in:
parent
3a13a41a15
commit
6d14e66505
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user