mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2025-04-05 21:25:55 +02:00
small fix
This commit is contained in:
parent
abaffa6336
commit
c6ea26228d
@ -98,7 +98,7 @@ func (m *NetstatCollector) Init(config json.RawMessage) error {
|
|||||||
m.buildAliasMapping()
|
m.buildAliasMapping()
|
||||||
|
|
||||||
// Check access to net statistic file
|
// Check access to net statistic file
|
||||||
file, err := os.Open(string(NETSTATFILE))
|
file, err := os.Open(NETSTATFILE)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
cclog.ComponentError(m.name, err.Error())
|
cclog.ComponentError(m.name, err.Error())
|
||||||
return err
|
return err
|
||||||
|
Loading…
x
Reference in New Issue
Block a user