Load new default metrics config from working directory

This commit is contained in:
Jan Eitzinger 2025-02-28 14:36:19 +01:00
parent 0fe0461340
commit c661baf058
Signed by: moebiusband
GPG Key ID: 2574BA29B90D6DD5

View File

@ -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
}