Signed-off-by: Suleiman Dibirov <idsulik@gmail.com>
pull/13242/head
Suleiman Dibirov 2 weeks ago
parent 3f1e5a27a1
commit 4c9230adfe

@ -350,7 +350,6 @@ func (c *ChartDownloader) ResolveChartVersion(ref, version string) (string, *url
return "", u, err return "", u, err
} }
if registry.IsOCI(u.String()) { if registry.IsOCI(u.String()) {
if c.RegistryClient == nil { if c.RegistryClient == nil {
return "", nil, fmt.Errorf("unable to lookup ref %s at version '%s', missing registry client", ref, version) return "", nil, fmt.Errorf("unable to lookup ref %s at version '%s', missing registry client", ref, version)
@ -610,7 +609,7 @@ func (c *ChartDownloader) getOciTag(ref, version string) (string, error) {
return "", err return "", err
} }
if len(tags) == 0 { if len(tags) == 0 {
return "", fmt.Errorf("Unable to locate any tags in provided repository: %s", ref) return "", fmt.Errorf("unable to locate any tags in provided repository: %s", ref)
} }
// Determine if version provided // Determine if version provided

Loading…
Cancel
Save