mirror of
				https://github.com/ClusterCockpit/cc-metric-collector.git
				synced 2025-11-04 02:35:07 +01: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