mirror of https://github.com/docker/cli.git
Revert "add a 10s timeout to the client object."
This reverts commit 59defcb34d
which caused #1892
since the timeout applied not only to the dial phase but to everything, so it
would kill `docker logs -f ...` if the container was not chatty enough.
Signed-off-by: Ian Campbell <ijc@docker.com>
This commit is contained in:
parent
4c605bdc75
commit
33a9a63927
|
@ -122,7 +122,6 @@ func (c *Endpoint) ClientOpts() ([]client.Opt, error) {
|
||||||
client.WithDialContext(helper.Dialer),
|
client.WithDialContext(helper.Dialer),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
result = append(result, client.WithTimeout(10*time.Second))
|
|
||||||
}
|
}
|
||||||
|
|
||||||
version := os.Getenv("DOCKER_API_VERSION")
|
version := os.Getenv("DOCKER_API_VERSION")
|
||||||
|
|
Loading…
Reference in New Issue