containerd/linux/shim
Ian Campbell d63d2ecf6c Simplify mount cleanup on failure by using defer
This avoids someone adding a new error path and forgetting to call the cleanup
function.

We prefer to use an explicit flag to gate the clean rather than relying on `err
!= nil` so we don't have to rely on people never accidentally shadowing the
`err` as seen by the closure.

Signed-off-by: Ian Campbell <ian.campbell@docker.com>
2017-07-20 10:50:08 +01:00
..
v1 Refactor runtime events into Task* types 2017-07-12 10:57:57 -07:00
client_linux.go Use event service post for shim events 2017-07-07 16:30:57 -07:00
client_unix.go Use event service post for shim events 2017-07-07 16:30:57 -07:00
client.go Start of day configuration of shim debug setting 2017-07-12 17:48:27 +01:00
exec.go linux, linux/shim: remove error definitions 2017-07-18 15:56:49 -07:00
init.go Simplify mount cleanup on failure by using defer 2017-07-20 10:50:08 +01:00
io.go Close stdin on create if it wasn't requested and there's no terminal 2017-05-16 14:16:47 -07:00
local.go Refactor runtime events into Task* types 2017-07-12 10:57:57 -07:00
process.go Add Exec IDs 2017-07-06 15:23:08 -07:00
service.go Merge pull request #1209 from stevvooe/remove-errors 2017-07-18 19:18:23 -07:00