Skip to content

Commit bbeb6dc

Browse files
author
alex.collins
committed
make version default to null (i.e. absent and autodetect)
1 parent f0f232f commit bbeb6dc

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/main/resources/docker.io.properties

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
docker.io.url=https://localhost:2376
2-
docker.io.version=1.15
32
docker.io.enableLoggingFilter=true
43
docker.io.dockerCertPath=${user.home}/.docker
54
docker.io.username=${user.name}

src/test/java/com/github/dockerjava/core/DockerClientConfigTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ public void defaults() throws Exception {
101101
assertEquals(config.getUri(), URI.create("https://localhost:2376"));
102102
assertEquals(config.getUsername(), "someUserName");
103103
assertEquals(config.getServerAddress(), AuthConfig.DEFAULT_SERVER_ADDRESS);
104-
assertEquals(config.getVersion(), "1.15");
104+
assertEquals(config.getVersion(), null);
105105
assertEquals(config.isLoggingFilterEnabled(), true);
106106
assertEquals(config.getDockerCertPath(), "someHomeDir/.docker");
107107
}

0 commit comments

Comments
 (0)