mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2025-07-28 23:56:08 +02:00
Fix error print in LustreCollector
This commit is contained in:
@@ -116,7 +116,7 @@ func (m *LustreCollector) Init(config json.RawMessage) error {
|
||||
return err
|
||||
}
|
||||
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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user