mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
7061a993c5
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> |
||
---|---|---|
.. | ||
execdrivers | ||
lxc | ||
native | ||
driver.go | ||
pipes.go | ||
termconsole.go | ||
utils.go |