Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vc: BlockIndex should not be altered in case of error
BlockIndex should not increment in case of error. Similar issue applies to decrementSandboxBlockIndex where the symptom may be more severe - in worst case, the block index may become negative. Fixes kata-containers#2244 Signed-off-by: Ted Yu <yuzhihong@gmail.com>
- Loading branch information