mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2025-07-31 08:56:06 +02:00
Return error at Init for skip collectors early
This commit is contained in:
@@ -10,7 +10,7 @@ import (
|
||||
|
||||
type MetricGetter interface {
|
||||
Name() string
|
||||
Init()
|
||||
Init() error
|
||||
Read(time.Duration)
|
||||
Close()
|
||||
GetNodeMetric() map[string]interface{}
|
||||
|
Reference in New Issue
Block a user