Unverified Commit 2a86164c authored by Taylor Thomas's avatar Taylor Thomas Committed by GitHub

Merge pull request #3829 from stuartleeks/set-rollback-failure

Fix: Failed rollback left in PENDING_ROLLBACK state
parents 2e309df0 bac4f45f
...@@ -135,7 +135,7 @@ func (s *ReleaseServer) performRollback(currentRelease, targetRelease *release.R ...@@ -135,7 +135,7 @@ func (s *ReleaseServer) performRollback(currentRelease, targetRelease *release.R
targetRelease.Info.Status.Code = release.Status_FAILED targetRelease.Info.Status.Code = release.Status_FAILED
targetRelease.Info.Description = msg targetRelease.Info.Description = msg
s.recordRelease(currentRelease, true) s.recordRelease(currentRelease, true)
s.recordRelease(targetRelease, false) s.recordRelease(targetRelease, true)
return res, err return res, err
} }
......
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