mirror of
https://github.com/docker/cli.git
synced 2026-09-11 10:05:43 -05:00
d335495a31e18368c6862d73dc07b1dd758ba05a
Use transaction logic during device deletion and do rollback if transaction is not complete. Following is the sequence of events. - Open transaction and save to metafile - Delete device from pool - Delete device metadata file from disk - Close Transaction If docker crashes without closing transaction then rollback will take place upon next docker start. Signed-off-by: Vivek Goyal <vgoyal@redhat.com> Upstream-commit: 17b75a21a667a27a9a27565ab282cd615dbdb66e Component: engine
Languages
Go
92.3%
Shell
5.4%
Dockerfile
1.1%
Go-Checksums
0.7%
Makefile
0.3%
Other
0.2%