File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
src/test/java/com/github/dockerjava/netty Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,8 @@ public void testNettyDockerCmdExecFactoryConfigWithApiVersion() throws Exception
4242 int dockerPort = getFreePort ();
4343
4444 NettyDockerCmdExecFactory factory = new NettyDockerCmdExecFactory ();
45- Builder configBuilder = DefaultDockerClientConfig .createDefaultConfigBuilder ()
45+ Builder configBuilder = new DefaultDockerClientConfig .Builder ()
46+ .withDockerTlsVerify (false )
4647 .withDockerHost ("tcp://localhost:" + dockerPort )
4748 .withApiVersion ("1.23" );
4849
@@ -69,7 +70,9 @@ public void testNettyDockerCmdExecFactoryConfigWithoutApiVersion() throws Except
6970 int dockerPort = getFreePort ();
7071
7172 NettyDockerCmdExecFactory factory = new NettyDockerCmdExecFactory ();
72- Builder configBuilder = DefaultDockerClientConfig .createDefaultConfigBuilder ().withDockerHost ("tcp://localhost:" + dockerPort );
73+ Builder configBuilder = new DefaultDockerClientConfig .Builder ()
74+ .withDockerTlsVerify (false )
75+ .withDockerHost ("tcp://localhost:" + dockerPort );
7376
7477 DockerClient client = DockerClientBuilder .getInstance (configBuilder )
7578 .withDockerCmdExecFactory (factory )
You can’t perform that action at this time.
0 commit comments