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:
Ian Campbell 2019-05-17 10:34:53 +01:00
parent 4c605bdc75
commit 33a9a63927
1 changed files with 0 additions and 1 deletions

View File

@ -122,7 +122,6 @@ func (c *Endpoint) ClientOpts() ([]client.Opt, error) {
client.WithDialContext(helper.Dialer),
)
}
result = append(result, client.WithTimeout(10*time.Second))
}
version := os.Getenv("DOCKER_API_VERSION")