add the metrics server flag to the config for now
This commit is contained in:
@@ -14,6 +14,7 @@ var instance *ESDICfg
|
|||||||
type ESDICfg struct {
|
type ESDICfg struct {
|
||||||
DefaultSim string `yaml:"default_sim"`
|
DefaultSim string `yaml:"default_sim"`
|
||||||
DefaultLayout string `yaml:"default_layout"`
|
DefaultLayout string `yaml:"default_layout"`
|
||||||
|
MetricsServer bool `yaml:"metrics_server"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (cfg *ESDICfg) loadConfiguration(path string) error {
|
func (cfg *ESDICfg) loadConfiguration(path string) error {
|
||||||
|
|||||||
@@ -1,2 +1,3 @@
|
|||||||
default_sim: "iRacing"
|
default_sim: "iRacing"
|
||||||
default_layout: "layout.yaml"
|
default_layout: "layout.yaml"
|
||||||
|
metrics_server: true
|
||||||
|
|||||||
Reference in New Issue
Block a user