mirror of
https://github.com/grafana/grafana.git
synced 2026-08-14 07:04:57 -05:00
FeatureFlags: Avoid using cfg.IsFeatureToggleEnabled (#81407)
This commit is contained in:
@@ -144,12 +144,6 @@ 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)
|
||||
}
|
||||
|
||||
type keyValImpl struct {
|
||||
key *ini.Key
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user