Fix Docker socket creation on Windows

Closes gh-19908
pull/19944/head
Stephane Nicoll 5 years ago
parent 3b1745173b
commit 3290313eb7

@ -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);
}

Loading…
Cancel
Save