Merge pull request #11927 from AdamKorcz/fix2

pkg/chartutil: fix nil-dereference
pull/11324/merge
Joe Julian 1 year ago committed by GitHub
commit 0be8ac35ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -151,6 +151,9 @@ Loop:
}
for _, req := range c.Metadata.Dependencies {
if req == nil {
continue
}
if chartDependency := getAliasDependency(c.Dependencies(), req); chartDependency != nil {
chartDependencies = append(chartDependencies, chartDependency)
}

Loading…
Cancel
Save