Settings: Actually deprecate access to feature flags (#78073)
This commit is contained in:
@@ -144,7 +144,9 @@ func (o *OSSImpl) Section(section string) Section {
|
||||
|
||||
func (*OSSImpl) RegisterReloadHandler(string, ReloadHandler) {}
|
||||
|
||||
// Deprecated: use feature toggles
|
||||
func (o *OSSImpl) IsFeatureToggleEnabled(name string) bool {
|
||||
// nolint:staticcheck
|
||||
return o.Cfg.IsFeatureToggleEnabled(name)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user