Fix error print in LustreCollector

This commit is contained in:
Thomas Roehl 2022-03-04 11:32:39 +01:00
parent 31f10b3163
commit f4af520b2a

View File

@ -116,7 +116,7 @@ func (m *LustreCollector) Init(config json.RawMessage) error {
return err return err
} }
if user.Uid != "0" { if user.Uid != "0" {
cclog.ComponentError(m.name, "Lustre file system statistics can only be queried by user root:", err.Error()) cclog.ComponentError(m.name, "Lustre file system statistics can only be queried by user root")
return err return err
} }