Settings: Actually deprecate access to feature flags (#78073)
This commit is contained in:
@@ -69,10 +69,12 @@ func TestIntegrationPluginManager(t *testing.T) {
|
||||
|
||||
features := featuremgmt.WithFeatures()
|
||||
cfg := &setting.Cfg{
|
||||
Raw: raw,
|
||||
StaticRootPath: staticRootPath,
|
||||
BundledPluginsPath: bundledPluginsPath,
|
||||
Azure: &azsettings.AzureSettings{},
|
||||
Raw: raw,
|
||||
StaticRootPath: staticRootPath,
|
||||
BundledPluginsPath: bundledPluginsPath,
|
||||
Azure: &azsettings.AzureSettings{},
|
||||
|
||||
// nolint:staticcheck
|
||||
IsFeatureToggleEnabled: features.IsEnabled,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user