1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/daemon/execdriver/native
Michael Crosby 7061a993c5 Return closed channel if oom notification fails
When working with Go channels you must not set it to nil or else the
channel will block forever.  It will not panic reading from a nil chan
but it blocks.  The correct way to do this is to create the channel then
close it as the correct results to the caller will be returned.

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-04-01 15:30:48 -07:00
..
template Update libcontainer to 4a72e540feb67091156b907c4700e580a99f5a9d 2015-03-19 14:42:23 -04:00
create.go We want to allow the sharing of /dev from the host into the 2015-03-20 08:56:21 -04:00
driver.go Return closed channel if oom notification fails 2015-04-01 15:30:48 -07:00
driver_unsupported.go update go import path and libcontainer 2014-07-24 22:19:50 +00:00
driver_unsupported_nocgo.go update go import path and libcontainer 2014-07-24 22:19:50 +00:00
exec.go Execdriver implementation on new libcontainer API 2015-03-06 14:46:58 -08:00
info.go Execdriver implementation on new libcontainer API 2015-03-06 14:46:58 -08:00
init.go Execdriver implementation on new libcontainer API 2015-03-06 14:46:58 -08:00
utils.go Execdriver implementation on new libcontainer API 2015-03-06 14:46:58 -08:00