Commit b7f2dab
committed
fix post stop hook not always called successfully
If the first time post stop hook called with a failure(maybe because
some resources is not ready to be recycled), the second retry of `runc
delete` will return directly because the container root directoy is
already removed. so that the post stop hook is not called.1 parent 459ce2f commit b7f2dab
1 file changed
+7
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
57 | 63 | | |
58 | 64 | | |
59 | 65 | | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
| 66 | + | |
64 | 67 | | |
65 | 68 | | |
66 | 69 | | |
| |||
0 commit comments