FE setting experimental feature flags (#633)

This commit is contained in:
Igor Gov
2022-01-12 18:05:12 +02:00
committed by GitHub
parent 26a9c31d1e
commit 0e5611b7e9
3 changed files with 6 additions and 4 deletions

View File

@@ -34,8 +34,8 @@ type ConfigStruct struct {
ConfigFilePath string `yaml:"config-path,omitempty" readonly:""`
HeadlessMode bool `yaml:"headless" default:"false"`
LogLevelStr string `yaml:"log-level,omitempty" default:"INFO" readonly:""`
ServiceMap bool `yaml:"service-map" default:"false" readonly:""`
OAS bool `yaml:"oas" default:"false" readonly:""`
ServiceMap bool `yaml:"service-map,omitempty" default:"false" readonly:""`
OAS bool `yaml:"oas,omitempty" default:"false" readonly:""`
}
func (config *ConfigStruct) validate() error {