moby--moby/testutil/daemon
Sebastiaan van Stijn 293c1a27a2
testutil/daemon: remove redundant d.cmd.Wait()
`daemon.StartWithLogFile()` already creates a goroutine that
calls `d.cmd.Waits()` and sends its return to the channel, `d.Wait`.

This code called `d.cmd.Wait()` one more time, and returns the
error, which may produce an error _because_ it's called a second
time, and potentially cause an incorrect test-result.

(thanks to Kir Kolyshkin for spotting this)

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-10-11 00:38:08 +02:00
..
config.go
container.go
daemon.go testutil/daemon: remove redundant d.cmd.Wait() 2019-10-11 00:38:08 +02:00
daemon_unix.go
daemon_windows.go
doc.go
node.go
ops.go
plugin.go
secret.go
service.go
swarm.go