small fix

This commit is contained in:
exterr2f 2025-02-18 21:54:30 +01:00
parent abaffa6336
commit c6ea26228d

View File

@ -98,7 +98,7 @@ func (m *NetstatCollector) Init(config json.RawMessage) error {
m.buildAliasMapping()
// Check access to net statistic file
file, err := os.Open(string(NETSTATFILE))
file, err := os.Open(NETSTATFILE)
if err != nil {
cclog.ComponentError(m.name, err.Error())
return err