From 007114ffb71429a9553122ceef2a760fc8838173 Mon Sep 17 00:00:00 2001 From: Peter-Josef Meisch Date: Sat, 23 Jan 2021 19:59:46 +0100 Subject: [PATCH] Documentation fix. Original Pull Request #1663 Closes #1662 (cherry picked from commit 1aabb42355e07f9d6e65a2a0d02569b3a0f01a2d) --- src/main/asciidoc/reference/elasticsearch-clients.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/asciidoc/reference/elasticsearch-clients.adoc b/src/main/asciidoc/reference/elasticsearch-clients.adoc index 5a9e23801..387d527f9 100644 --- a/src/main/asciidoc/reference/elasticsearch-clients.adoc +++ b/src/main/asciidoc/reference/elasticsearch-clients.adoc @@ -153,7 +153,7 @@ ClientConfiguration clientConfiguration = ClientConfiguration.builder() .connectedTo("localhost:9200", "localhost:9291") <2> .withConnectTimeout(Duration.ofSeconds(5)) <3> .withSocketTimeout(Duration.ofSeconds(3)) <4> - .useSsl() <5> + .usingSsl() <5> .withDefaultHeaders(defaultHeaders) <6> .withBasicAuth(username, password) <7> . // ... other options