FeatureFlags: Cleanup usage of cfg.IsFeatureToggleEnabled (#78014)
This commit is contained in:
1 parent
2b146b97b4
commit
3509a5abb9
37 files changed
+147
-211
No files matched your search
@@ -46,9 +46,6 @@ func TestCallResource(t *testing.T) {
|
||||
|
||||
cfg := setting.NewCfg()
|
||||
cfg.StaticRootPath = staticRootPath
|
||||
cfg.IsFeatureToggleEnabled = func(_ string) bool {
|
||||
return false
|
||||
}
|
||||
cfg.Azure = &azsettings.AzureSettings{}
|
||||
|
||||
coreRegistry := coreplugin.ProvideCoreRegistry(tracing.InitializeTracerForTest(), nil, &cloudwatch.CloudWatchService{}, nil, nil, nil, nil,
|
||||
|
||||
Reference in new issue
Block a user