1775a0e11e
If the sandbox process is dead (because of a panic or some other problem), container.Destroy will never remove the container metadata file, since it will always fail when calling container.stop(). This CL changes container.Destroy() to always perform the three necessary cleanup operations: * Stop the sandbox and gofer processes. * Remove the container fs on the host. * Delete the container metadata directory. Errors from these three operations will be concatenated and returned from Destroy(). PiperOrigin-RevId: 225448164 Change-Id: I99c6311b2e4fe5f6e2ca991424edf1ebeae9df32 |
||
---|---|---|
.. | ||
BUILD | ||
console_test.go | ||
container.go | ||
container_test.go | ||
fs.go | ||
fs_test.go | ||
hook.go | ||
multi_container_test.go | ||
status.go | ||
test_app.go |