Skip to content

Commit 007114f

Browse files
committed
Documentation fix.
Original Pull Request #1663 Closes #1662 (cherry picked from commit 1aabb42)
1 parent 3105e60 commit 007114f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/asciidoc/reference/elasticsearch-clients.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ ClientConfiguration clientConfiguration = ClientConfiguration.builder()
153153
.connectedTo("localhost:9200", "localhost:9291") <2>
154154
.withConnectTimeout(Duration.ofSeconds(5)) <3>
155155
.withSocketTimeout(Duration.ofSeconds(3)) <4>
156-
.useSsl() <5>
156+
.usingSsl() <5>
157157
.withDefaultHeaders(defaultHeaders) <6>
158158
.withBasicAuth(username, password) <7>
159159
. // ... other options

0 commit comments

Comments
 (0)