Fix one more case

Signed-off-by: Mads Jensen <atombrella@users.noreply.github.com>
pull/31667/head
Mads Jensen 1 week ago
parent c9c8a22542
commit 711204df9d

@ -380,7 +380,7 @@ func (c *ChartDownloader) ResolveChartVersion(ref, version string) (string, *url
if err != nil {
// If there is no special config, return the default HTTP client and
// swallow the error.
if err == ErrNoOwnerRepo {
if errors.Is(err, ErrNoOwnerRepo) {
// Make sure to add the ref URL as the URL for the getter
c.Options = append(c.Options, getter.WithURL(ref))
return "", u, nil

Loading…
Cancel
Save