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
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
..
execdrivers Get rid of panic in stats for lxc 2015-03-24 21:12:06 -07:00
lxc Replace aliased imports of logrus, fixes #11762 2015-03-26 23:22:04 +01:00
native Return closed channel if oom notification fails 2015-04-01 15:30:48 -07:00
driver.go Remove duplicate assignment 2015-03-30 23:07:43 +02:00
pipes.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
termconsole.go Refactoring execdriver.Command and Container structs to support 'docker exec' and other 2014-09-01 14:30:16 -07:00
utils.go Execdriver implementation on new libcontainer API 2015-03-06 14:46:58 -08:00