diff --git a/plugin/store/store.go b/plugin/store/store.go index e1e41f38af..b2cec91afe 100644 --- a/plugin/store/store.go +++ b/plugin/store/store.go @@ -79,8 +79,10 @@ func (ps *Store) getAllByCap(capability string) []plugingetter.CompatPlugin { result := make([]plugingetter.CompatPlugin, 0, 1) for _, p := range ps.plugins { - if _, err := p.FilterByCap(capability); err == nil { - result = append(result, p) + if p.IsEnabled() { + if _, err := p.FilterByCap(capability); err == nil { + result = append(result, p) + } } } return result