mirror of
				https://github.com/ClusterCockpit/cc-metric-collector.git
				synced 2025-11-04 02:35:07 +01:00 
			
		
		
		
	Fix staticcheck warnings (#66)
This commit is contained in:
		@@ -21,11 +21,10 @@ type CpustatCollectorConfig struct {
 | 
			
		||||
 | 
			
		||||
type CpustatCollector struct {
 | 
			
		||||
	metricCollector
 | 
			
		||||
	config          CpustatCollectorConfig
 | 
			
		||||
	matches         map[string]int
 | 
			
		||||
	cputags         map[string]map[string]string
 | 
			
		||||
	nodetags        map[string]string
 | 
			
		||||
	num_cpus_metric lp.CCMetric
 | 
			
		||||
	config   CpustatCollectorConfig
 | 
			
		||||
	matches  map[string]int
 | 
			
		||||
	cputags  map[string]map[string]string
 | 
			
		||||
	nodetags map[string]string
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (m *CpustatCollector) Init(config json.RawMessage) error {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user