Skip to content

Commit cb5d67e

Browse files
authored
Bugfix docker host (#584)
1 parent 1f7dade commit cb5d67e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build-info-extractor-docker/src/main/java/org/jfrog/build/extractor/docker/DockerJavaWrapper.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public static DockerClient getDockerClient(String host, Map<String, String> envV
6262
} else {
6363
// If open JDK is used and the host is null
6464
// then instead of a null reference, the host is the string "null".
65-
if (!StringUtils.isEmpty(host) && !host.equalsIgnoreCase("null")) {
65+
if (StringUtils.isNotBlank(host) && !host.equalsIgnoreCase("null")) {
6666
configBuilder.withDockerHost(host);
6767
}
6868
}

0 commit comments

Comments
 (0)