From 5ffa71b16fd8e4394e20c42511fc31d87adcdcdf Mon Sep 17 00:00:00 2001 From: Peter-Josef Meisch Date: Sat, 23 Jan 2021 19:58:35 +0100 Subject: [PATCH] Documentation fix. --- 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 f29266069..78695f489 100644 --- a/src/main/asciidoc/reference/elasticsearch-clients.adoc +++ b/src/main/asciidoc/reference/elasticsearch-clients.adoc @@ -148,7 +148,7 @@ httpHeaders.add("some-header", "on every request") <.> ClientConfiguration clientConfiguration = ClientConfiguration.builder() .connectedTo("localhost:9200", "localhost:9291") <.> - .useSsl() <.> + .usingSsl() <.> .withProxy("localhost:8888") <.> .withPathPrefix("ela") <.> .withConnectTimeout(Duration.ofSeconds(5)) <.>