Plugins: Remove externalCorePlugins feature toggle (#108386)

remove externalCorePlugins feature toggle
This commit is contained in:
Will Browne
2025-07-21 13:55:30 +01:00
committed by GitHub
parent 5ec3a2b758
commit cd87bbbdea
12 changed files with 2 additions and 34 deletions
@@ -223,10 +223,6 @@ func NewAsExternalStep(cfg *config.PluginManagementCfg) *AsExternal {
// Filter will filter out any plugins that are marked to be disabled.
func (c *AsExternal) Filter(cl plugins.Class, bundles []*plugins.FoundBundle) ([]*plugins.FoundBundle, error) {
if !c.cfg.Features.ExternalCorePluginsEnabled {
return bundles, nil
}
if cl == plugins.ClassCore {
res := []*plugins.FoundBundle{}
for _, bundle := range bundles {
@@ -68,9 +68,6 @@ func TestAsExternal(t *testing.T) {
t.Run("should skip a core plugin", func(t *testing.T) {
cfg := &config.PluginManagementCfg{
Features: config.Features{
ExternalCorePluginsEnabled: true,
},
PluginSettings: setting.PluginSettings{
"plugin1": map[string]string{
"as_external": "true",