Merge pull request #5966 from willise/master

ref(tiller): add more info when force update
pull/5983/head
Matthew Fisher 5 years ago committed by GitHub
commit 9b1d8f9c86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -38,8 +38,10 @@ func (s *ReleaseServer) UpdateRelease(c ctx.Context, req *services.UpdateRelease
s.Log("preparing update for %s", req.Name)
currentRelease, updatedRelease, err := s.prepareUpdate(req)
if err != nil {
s.Log("failed to prepare update: %s", err)
if req.Force {
// Use the --force, Luke.
s.Log("performing force update for %s", req.Name)
return s.performUpdateForce(req)
}
return nil, err

Loading…
Cancel
Save