mirror of
				https://github.com/ClusterCockpit/cc-backend
				synced 2025-11-04 01:25:06 +01:00 
			
		
		
		
	Load new default metrics config from working directory
This commit is contained in:
		@@ -16,7 +16,7 @@ type DefaultMetricsConfig struct {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func LoadDefaultMetricsConfig() (*DefaultMetricsConfig, error) {
 | 
			
		||||
	filePath := "configs/default_metrics.json"
 | 
			
		||||
	filePath := "default_metrics.json"
 | 
			
		||||
	if _, err := os.Stat(filePath); os.IsNotExist(err) {
 | 
			
		||||
		return nil, nil
 | 
			
		||||
	}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user