Commit 3290313e authored by Stephane Nicoll's avatar Stephane Nicoll

Fix Docker socket creation on Windows

Closes gh-19908
parent 3b174517
......@@ -43,7 +43,7 @@ class DockerConnectionSocketFactory implements ConnectionSocketFactory {
@Override
public Socket createSocket(HttpContext context) throws IOException {
if (Platform.isWindows()) {
NamedPipeSocket.get(WINDOWS_NAMED_PIPE_PATH);
return NamedPipeSocket.get(WINDOWS_NAMED_PIPE_PATH);
}
return DomainSocket.get(DOMAIN_SOCKET_PATH);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment