mirror of
https://github.com/helm/helm.git
synced 2026-05-28 04:35:48 -04:00
feat(tiller): record release status deployed
This commit is contained in:
parent
0acbcdd5cc
commit
c5c8e82246
1 changed files with 3 additions and 0 deletions
|
|
@ -286,7 +286,10 @@ func (s *releaseServer) InstallRelease(c ctx.Context, req *services.InstallRelea
|
|||
// this stored in the future.
|
||||
if err := s.env.Releases.Create(r); err != nil {
|
||||
log.Printf("warning: Failed to record release %q: %s", name, err)
|
||||
return res, nil
|
||||
}
|
||||
|
||||
r.Info.Status.Code = release.Status_DEPLOYED
|
||||
return res, nil
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue