fix(helm): fix nil pointer in requirements.go

This fixes a segfault that was the result of assigning to a property of
a nil pointer.

Closes #2244
pull/2264/head
Matt Butcher 9 years ago
parent 26343023a3
commit 19b111b123
No known key found for this signature in database
GPG Key ID: DCD5F5E5EF32C345

@ -384,8 +384,9 @@ func processImportValues(c *chart.Chart, v *chart.Config) error {
if err != nil {
return err
}
// set the new values
c.Values.Raw = string(y)
c.Values = &chart.Config{Raw: string(y)}
return nil
}

Loading…
Cancel
Save