Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
command/clistate: Return an error on unlock failure (#25729)
* Return an error on unlock failure When the lock can't be released return the err even if there is no previous error with the current action. This allows faster failure in CI/CD systems. Without this failure to remove the lock would result in the failure happening on a subsequent plan or apply which slows down the feedback loop in automated systems. * Update command/clistate/state.go Accept review suggestion Co-authored-by: ZymoticB <[email protected]> * add test Co-authored-by: ZymoticB <[email protected]> Co-authored-by: Kristin Laemmert <[email protected]>
- Loading branch information