Revert: chore: a drop-in replacement for FeatureToggles.IsEnabledGlobally in app settings (#115593)

* Revert "chore: a drop-in replacement for FeatureToggles.IsEnabledGlobally in app settings (#113449)"

This reverts commit 26ce2c09d7.

* Change FeatureToggles.IsEnabledGlobally deprecation message
This commit is contained in:
Denis Vodopianov
2025-12-18 16:46:32 -05:00
committed by GitHub
parent 05fd304dbd
commit 39c562a911
4 changed files with 2 additions and 23 deletions
-5
View File
@@ -511,9 +511,6 @@ type Cfg struct {
// Query history
QueryHistoryEnabled bool
// StartupSettings settings
StartupSettings StartupSettings
// Open feature settings
OpenFeature OpenFeatureSettings
@@ -1476,8 +1473,6 @@ func (cfg *Cfg) parseINIFile(iniFile *ini.File) error {
// unified storage config
cfg.setUnifiedStorageConfig()
// app platform config
cfg.readStartupSettingsSection()
return nil
}
-14
View File
@@ -1,14 +0,0 @@
package setting
type StartupSettings struct {
KubernetesAnnotationsAppEnabled bool
}
func (cfg *Cfg) readStartupSettingsSection() {
settings := StartupSettings{}
startupSettingsSection := cfg.Raw.Section("startup_settings")
settings.KubernetesAnnotationsAppEnabled = startupSettingsSection.Key("annotations_app_enabled").MustBool(false)
cfg.StartupSettings = settings
}