Unverified Commit c7b2a9d4 authored by Matt Farina's avatar Matt Farina Committed by Scott Rigby
Browse files

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: default avatarMatt Farina <matt.farina@suse.com>
Showing with 1 addition and 2 deletions
+1 -2
...@@ -578,8 +578,7 @@ func (m *Manager) resolveRepoNames(deps []*chart.Dependency) (map[string]string, ...@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment