Fixing issue where OCI handling early causes a bad message

Note, there is OCI handling later in the funtion that should
handle the situation instead.

Closes #10534

Signed-off-by: Matt Farina <matt.farina@suse.com>
pull/10535/head
Matt Farina 3 years ago
parent 39ca699ca7
commit ee73a0263c
No known key found for this signature in database
GPG Key ID: 92C44A3D421FF7F9

@ -578,8 +578,7 @@ func (m *Manager) resolveRepoNames(deps []*chart.Dependency) (map[string]string,
missing := []string{} missing := []string{}
for _, dd := range deps { for _, dd := range deps {
// Don't map the repository, we don't need to download chart from charts directory // Don't map the repository, we don't need to download chart from charts directory
// When OCI is used there is no Helm repository if dd.Repository == "" {
if dd.Repository == "" || registry.IsOCI(dd.Repository) {
continue continue
} }
// if dep chart is from local path, verify the path is valid // if dep chart is from local path, verify the path is valid

Loading…
Cancel
Save