Skip to content

Commit

Permalink
Fix StackOverflowError in DockerClientFactory#client (#5262)
Browse files Browse the repository at this point in the history
  • Loading branch information
bsideup committed Apr 13, 2022
1 parent cec4934 commit 66e4be2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,6 @@ public DockerClient client() {

final DockerClientProviderStrategy strategy = getOrInitializeStrategy();

log.info("Docker host IP address is {}", strategy.getDockerHostIpAddress());
client = new DockerClientDelegate() {

@Getter
Expand All @@ -198,6 +197,7 @@ public void close() {
throw new IllegalStateException("You should never close the global DockerClient!");
}
};
log.info("Docker host IP address is {}", strategy.getDockerHostIpAddress());

Info dockerInfo = client.infoCmd().exec();
Version version = client.versionCmd().exec();
Expand Down

0 comments on commit 66e4be2

Please sign in to comment.