Commit 51b6bca9 authored by Adam Reese's avatar Adam Reese Committed by GitHub

Merge pull request #861 from adamreese/feat/release-status

feat(tiller): record release status deployed
parents e0086fd7 c5c8e822
...@@ -286,7 +286,10 @@ func (s *releaseServer) InstallRelease(c ctx.Context, req *services.InstallRelea ...@@ -286,7 +286,10 @@ func (s *releaseServer) InstallRelease(c ctx.Context, req *services.InstallRelea
// this stored in the future. // this stored in the future.
if err := s.env.Releases.Create(r); err != nil { if err := s.env.Releases.Create(r); err != nil {
log.Printf("warning: Failed to record release %q: %s", name, err) log.Printf("warning: Failed to record release %q: %s", name, err)
return res, nil
} }
r.Info.Status.Code = release.Status_DEPLOYED
return res, nil return res, nil
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment