Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

Commit

Permalink
Merge pull request #33293 from fd/patch-1
Browse files Browse the repository at this point in the history
Remove deadlock in ContainerWait
Upstream-commit: d98d4fa
Component: engine
  • Loading branch information
thaJeztah authored May 19, 2017
2 parents b0a3aba + 87298d4 commit 1dc2936
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/engine/client/container_wait.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func (cli *Client) ContainerWait(ctx context.Context, containerID string, condit
}

resultC := make(chan container.ContainerWaitOKBody)
errC := make(chan error)
errC := make(chan error, 1)

query := url.Values{}
query.Set("condition", string(condition))
Expand Down

0 comments on commit 1dc2936

Please sign in to comment.