e55d9b155d
Use `exec.Command` created by this function instead of obtaining it from
daemon struct. This prevents a race condition where `daemon.Kill` is
called before the goroutine has the chance to call `cmd.Wait`.
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
(cherry picked from commit
|
||
---|---|---|
.. | ||
daemon | ||
environment | ||
fakecontext | ||
fakegit | ||
fakestorage | ||
fixtures | ||
registry | ||
request | ||
doc.go | ||
helper.go | ||
helpers.go | ||
stringutils.go | ||
stringutils_test.go |