Fix Unix adapter bug with newer versions of requests
The select_proxy utility in requests errors out when the provided URL
doesn't have a hostname, like is the case when using a UNIX socket.
Since proxies are an irrelevant notion in the case of UNIX sockets
anyway, we simply return the path URL directly.
Signed-off-by:
Joffrey F <joffrey@docker.com>
Showing
Please
register
or
sign in
to comment