Extend OpenFeature service (#106707)
This commit is contained in:
@@ -476,6 +476,9 @@ type Cfg struct {
|
||||
// Query history
|
||||
QueryHistoryEnabled bool
|
||||
|
||||
// Open feature settings
|
||||
OpenFeature OpenFeatureSettings
|
||||
|
||||
Storage StorageSettings
|
||||
|
||||
Search SearchSettings
|
||||
@@ -1319,6 +1322,11 @@ func (cfg *Cfg) parseINIFile(iniFile *ini.File) error {
|
||||
return err
|
||||
}
|
||||
|
||||
if err := cfg.readOpenFeatureSettings(); err != nil {
|
||||
cfg.Logger.Error("Failed to read open feature settings", "error", err)
|
||||
return err
|
||||
}
|
||||
|
||||
cfg.readDataSourcesSettings()
|
||||
cfg.readDataSourceSecuritySettings()
|
||||
cfg.readK8sDashboardCleanupSettings()
|
||||
|
||||
Reference in New Issue
Block a user