mirror of
				https://github.com/ClusterCockpit/cc-metric-collector.git
				synced 2025-10-30 16:45:07 +01:00 
			
		
		
		
	Rename 'process_message' to 'process_messages' in metricRouter config
This makes the behavior more consistent with the other modules, which have their MessageProcessor named 'process_messages'. This most likely was just a typo.
This commit is contained in:
		| @@ -40,7 +40,7 @@ type metricRouterConfig struct { | ||||
| 	NormalizeUnits    bool                                 `json:"normalize_units"`     // Check unit meta flag and normalize it using cc-units | ||||
| 	ChangeUnitPrefix  map[string]string                    `json:"change_unit_prefix"`  // Add prefix that should be applied to the metrics | ||||
| 	// dropMetrics       map[string]bool                      // Internal map for O(1) lookup | ||||
| 	MessageProcessor json.RawMessage `json:"process_message,omitempty"` | ||||
| 	MessageProcessor json.RawMessage `json:"process_messages,omitempty"` | ||||
| } | ||||
|  | ||||
| // Metric router data structure | ||||
|   | ||||
		Reference in New Issue
	
	Block a user