4db0e2e1ecd74a3d82cd69cf99e121b34d4c991a
Since the failure count of container will increase by 1 every time it exits successfully, the compare in function shouldRestart() will stop container to restart by the last time. Signed-off-by: Hu Keping <hukeping@huawei.com> Upstream-commit: e721ed9b5319e8e7c1daf87c34690f8a4e62c9e3 Component: engine
Description
No description provided
Languages
Go
92%
Shell
5.5%
Dockerfile
1.1%
Go-Checksums
0.9%
Makefile
0.3%
Other
0.2%