pkg/engine: fix nil-dereference

Signed-off-by: AdamKorcz <adam@adalogics.com>
pull/11928/head
AdamKorcz 2 years ago
parent 299a6463a0
commit 2a9594c0fe

@ -391,6 +391,9 @@ func recAllTpls(c *chart.Chart, templates map[string]renderable, vals chartutil.
newParentID := c.ChartFullPath()
for _, t := range c.Templates {
if t == nil {
continue
}
if !isTemplateValid(c, t.Name) {
continue
}

Loading…
Cancel
Save