diff --git a/pkg/plugin/discovery/discovery.go b/pkg/plugin/discovery/discovery.go index 2efed877..a402d954 100644 --- a/pkg/plugin/discovery/discovery.go +++ b/pkg/plugin/discovery/discovery.go @@ -126,6 +126,10 @@ func (d *Discovery) FindPluginsWithBatchResolver(resolverName string, pInfos []* pInfo.BinPath = binPath } + if len(missingPlugins) == 0 { + return nil + } + batchResolver := d.resolvers[resolverName].(resolver.BatchResolver) batchDownloadInfo, err := batchResolver.BatchResolvePlugins(missingPlugins) if err != nil {