diff --git a/components/cli/vendor/github.com/docker/docker/client/container_wait.go b/components/cli/vendor/github.com/docker/docker/client/container_wait.go index edfa5d3c850..af4559c4b9c 100644 --- a/components/cli/vendor/github.com/docker/docker/client/container_wait.go +++ b/components/cli/vendor/github.com/docker/docker/client/container_wait.go @@ -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))