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