Noting the version as the match element

That the match is based on version is implicit. Making it explicit
because I had to think when I saw it.

Signed-off-by: Matt Farina <matt@mattfarina.com>
pull/5318/head
Matt Farina 6 years ago
parent 9f964c11da
commit 35b7822190
No known key found for this signature in database
GPG Key ID: 9436E80BFBA46909

@ -213,7 +213,7 @@ func (c *ChartDownloader) ResolveChartVersion(ref, version string) (*url.URL, ge
cv, err := i.Get(chartName, version)
if err != nil {
return u, r.Client, fmt.Errorf("chart %q matching %q not found in %s index. (try 'helm repo update'). %s", chartName, version, r.Config.Name, err)
return u, r.Client, fmt.Errorf("chart %q matching version %q not found in %s index. (try 'helm repo update'). %s", chartName, version, r.Config.Name, err)
}
if len(cv.URLs) == 0 {

Loading…
Cancel
Save