Skip to content

Commit

Permalink
"Test Connection" no longer replaces the DockerClient with one based on
Browse files Browse the repository at this point in the history
unsaved settings
  • Loading branch information
albers committed Sep 29, 2014
1 parent 8223049 commit 82464dc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ private static DockerClient createDockerClient(String dockerUrl, String dockerVe
public FormValidation doTestConnection(@QueryParameter String dockerUrl, @QueryParameter String dockerVersion) throws IOException, ServletException {
LOGGER.fine(String.format("Trying to get client for %s and version %s", dockerUrl, dockerVersion));
try {
dockerClient = createDockerClient(dockerUrl, dockerVersion);
DockerClient dockerClient = createDockerClient(dockerUrl, dockerVersion);
dockerClient.pingCmd().exec();
} catch (Exception e) {
LOGGER.log(Level.WARNING, e.getMessage(), e);
Expand Down

0 comments on commit 82464dc

Please sign in to comment.