mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-25 19:09:03 +00:00
Fix Docker socket creation on Windows
Closes gh-19908
This commit is contained in:
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user