Fix missing colon in netstat collector

This commit is contained in:
Thomas Roehl 2021-11-26 19:02:09 +01:00
parent 3a13a41a15
commit 6d14e66505

View File

@ -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
}