Skip to content

Commit 408a320

Browse files
author
Marcus Linke
committed
Fix issue #176
1 parent d57bed7 commit 408a320

2 files changed

Lines changed: 286 additions & 261 deletions

File tree

src/main/java/com/github/dockerjava/core/DockerClientConfig.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,9 @@ public final DockerClientConfigBuilder withFollowRedirectsFilter(boolean followR
459459
}
460460

461461
public final DockerClientConfigBuilder withDockerCertPath(String dockerCertPath) {
462-
this.sslConfig = new LocalDirectorySSLConfig(dockerCertPath);
462+
if(dockerCertPath != null) {
463+
this.sslConfig = new LocalDirectorySSLConfig(dockerCertPath);
464+
}
463465
return this;
464466
}
465467

0 commit comments

Comments
 (0)