mirror of
				https://github.com/ClusterCockpit/cc-metric-collector.git
				synced 2025-11-04 02:35:07 +01:00 
			
		
		
		
	Avoid go vet warning:
struct field tag `json:"..., omitempty"` not compatible with reflect.StructTag.Get: suspicious space in struct tag value
This commit is contained in:
		@@ -15,7 +15,7 @@ const DISKSTATFILE = `/proc/diskstats`
 | 
			
		||||
const DISKSTAT_SYSFSPATH = `/sys/block`
 | 
			
		||||
 | 
			
		||||
type DiskstatCollectorConfig struct {
 | 
			
		||||
	ExcludeMetrics []string `json:"exclude_metrics, omitempty"`
 | 
			
		||||
	ExcludeMetrics []string `json:"exclude_metrics,omitempty"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
type DiskstatCollector struct {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user