fix(install): return error if we cannor record the release

Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
pull/6945/head
Matthew Fisher 6 years ago
parent eba3ee01df
commit f9aba6a6b8
No known key found for this signature in database
GPG Key ID: 92AA783CBAAE8E3B

@ -301,7 +301,9 @@ func (i *Install) Run(chrt *chart.Chart, vals map[string]interface{}) (*release.
// //
// One possible strategy would be to do a timed retry to see if we can get // One possible strategy would be to do a timed retry to see if we can get
// this stored in the future. // this stored in the future.
i.recordRelease(rel) if err := i.recordRelease(rel); err != nil {
return nil, err
}
return rel, nil return rel, nil
} }

Loading…
Cancel
Save