mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-03-04 14:05:56 +01:00
Merge branch 'dev' of https://github.com/ClusterCockpit/cc-backend into dev
This commit is contained in:
commit
187fe5b361
@ -16,7 +16,7 @@ type DefaultMetricsConfig struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func LoadDefaultMetricsConfig() (*DefaultMetricsConfig, error) {
|
func LoadDefaultMetricsConfig() (*DefaultMetricsConfig, error) {
|
||||||
filePath := "configs/default_metrics.json"
|
filePath := "default_metrics.json"
|
||||||
if _, err := os.Stat(filePath); os.IsNotExist(err) {
|
if _, err := os.Stat(filePath); os.IsNotExist(err) {
|
||||||
return nil, nil
|
return nil, nil
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user