Skip to content

Commit 3290313

Browse files
committed
Fix Docker socket creation on Windows
Closes gh-19908
1 parent 3b17451 commit 3290313

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/docker/DockerConnectionSocketFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class DockerConnectionSocketFactory implements ConnectionSocketFactory {
4343
@Override
4444
public Socket createSocket(HttpContext context) throws IOException {
4545
if (Platform.isWindows()) {
46-
NamedPipeSocket.get(WINDOWS_NAMED_PIPE_PATH);
46+
return NamedPipeSocket.get(WINDOWS_NAMED_PIPE_PATH);
4747
}
4848
return DomainSocket.get(DOMAIN_SOCKET_PATH);
4949
}

0 commit comments

Comments
 (0)