mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Fix Docker socket creation on Windows
Closes gh-19908
This commit is contained in:
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…
Reference in New Issue
Block a user