mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2024-11-12 21:17:25 +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
|
return err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
_, err = ioutil.ReadFile(string(NETSTATFILE))
|
_, err := ioutil.ReadFile(string(NETSTATFILE))
|
||||||
if err == nil {
|
if err == nil {
|
||||||
m.init = true
|
m.init = true
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user