mirror of
https://github.com/helm/helm.git
synced 2026-05-28 04:35:48 -04:00
Readded resolver OCI logic
Signed-off-by: Andrew Block <andy.block@gmail.com>
This commit is contained in:
parent
291c17fcc5
commit
828941b273
1 changed files with 2 additions and 2 deletions
|
|
@ -143,8 +143,8 @@ func (r *Resolver) Resolve(reqs []*chart.Dependency, repoNames map[string]string
|
|||
}
|
||||
|
||||
// Retrieve list of tags for repository
|
||||
tags, err := r.registryClient.Tags(d.Repository)
|
||||
if err != nil {
|
||||
ref := fmt.Sprintf("%s/%s", strings.TrimPrefix(d.Repository, fmt.Sprintf("%s://", registry.OCIScheme)), d.Name)
|
||||
tags, err := r.registryClient.Tags(ref) if err != nil {
|
||||
return nil, errors.Wrapf(err, "could not retrieve list of tags for repository %s", d.Repository)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue