HuKeping 4db0e2e1ec restart: Fix the compare of restart policy
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
2015-01-13 13:05:30 +08:00
S
Description
The Docker CLI
358 MiB
Languages
Go 92.3%
Shell 5.4%
Dockerfile 1.1%
Go-Checksums 0.7%
Makefile 0.3%
Other 0.2%