Skip to content

Commit b2320f3

Browse files
feat: explicitly set version constraint to latest
1 parent e471885 commit b2320f3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/plugin/discovery/download.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ func downloadBatchPlugins(pluginInfos []*plugin.Info, downloadInfo *resolver.Bat
144144

145145
res := grab.DefaultClient.Do(req)
146146
if showProgress {
147-
showDownloadProgressBar("batched-plugins.tar.gz", res)
147+
showDownloadProgressBar("plugin-archive.tar.gz", res)
148148
}
149149
err = res.Err()
150150
if err != nil {

pkg/plugin/discovery/resolver/registry/registry.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ func (r *Resolver) BatchResolvePlugins(pluginInfos []*plugin.Info) (*resolver.Ba
9595
Plugins: make([]*registry.BatchRequestPlugin, len(pluginInfos)),
9696
}
9797
for i, pluginInfo := range pluginInfos {
98-
versionConstraint := ""
98+
versionConstraint := "latest"
9999
if pluginInfo.Constraint != nil {
100100
versionConstraint = pluginInfo.Constraint.String()
101101
}

0 commit comments

Comments
 (0)