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> |
||
---|---|---|
.. | ||
template | ||
create.go | ||
driver.go | ||
driver_unsupported.go | ||
driver_unsupported_nocgo.go | ||
exec.go | ||
info.go | ||
init.go | ||
utils.go |