Skip to content

Commit 6f0a044

Browse files
Update connecting.asciidoc (#794)
1 parent dde3be0 commit 6f0a044

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.doc/connecting.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ Once you have the `http_ca.crt` file somewhere accessible pass the content of th
7474

7575
[source,go]
7676
------------------------------------
77-
cert, _ := ioutil.ReadFile("/path/to/http_ca.crt")
77+
cert, _ := os.ReadFile("/path/to/http_ca.crt")
7878
7979
cfg := elasticsearch.Config{
8080
Addresses: []string{

0 commit comments

Comments
 (0)