mirror of
https://github.com/helm/helm.git
synced 2026-06-30 19:57:48 +00:00
pkg/chartutil: fix nil-dereference
Signed-off-by: AdamKorcz <adam@adalogics.com>
This commit is contained in:
@@ -137,6 +137,9 @@ Loop:
|
||||
}
|
||||
|
||||
for _, req := range c.Metadata.Dependencies {
|
||||
if req == nil {
|
||||
continue
|
||||
}
|
||||
if chartDependency := getAliasDependency(c.Dependencies(), req); chartDependency != nil {
|
||||
chartDependencies = append(chartDependencies, chartDependency)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user