Merge pull request #33293 from fd/patch-1
Remove deadlock in ContainerWait Upstream-commit: d98d4faef86c4ba4470c7f28c2ce92c10de4a565 Component: engine
This commit is contained in:
@ -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))
|
||||
|
||||
Reference in New Issue
Block a user