From 5d8552e9a21332ce68b314e984069386fd407174 Mon Sep 17 00:00:00 2001 From: Eduardo Silva Date: Mon, 22 Jun 2026 22:07:43 +0100 Subject: [PATCH] add the metrics server flag to the config for now --- config/config.go | 1 + config/config.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/config/config.go b/config/config.go index a0716d9..957f5bf 100644 --- a/config/config.go +++ b/config/config.go @@ -14,6 +14,7 @@ var instance *ESDICfg type ESDICfg struct { DefaultSim string `yaml:"default_sim"` DefaultLayout string `yaml:"default_layout"` + MetricsServer bool `yaml:"metrics_server"` } func (cfg *ESDICfg) loadConfiguration(path string) error { diff --git a/config/config.yaml b/config/config.yaml index 815d8fb..a082b10 100644 --- a/config/config.yaml +++ b/config/config.yaml @@ -1,2 +1,3 @@ default_sim: "iRacing" default_layout: "layout.yaml" +metrics_server: true