ref(tiller): add more info when force update

Signed-off-by: willise <sunshuai@cmss.chinamobile.com>
pull/5966/head
willise 6 years ago
parent 66d71811e8
commit a1b391951e

@ -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