From e679d494a40fe7d8938d668928d7ebcf6a22b3fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emre=20Tekelio=C4=9Flu?= Date: Thu, 6 May 2021 23:16:45 +0300 Subject: [PATCH] Update README.md (#2410) For multiple endpoints example, url shema prefix should be exists only for the first endpoint. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 67f7073e8..2de2ba417 100644 --- a/README.md +++ b/README.md @@ -114,7 +114,7 @@ val client = ElasticClient(JavaClient(props)) For multiple nodes you can pass a comma-separated list of endpoints in a single string: ```scala -val nodes = ElasticProperties("http://host1:9200,http://host2:9200,http://host3:9200") +val nodes = ElasticProperties("http://host1:9200,host2:9200,host3:9200") val client = ElasticClient(JavaClient(nodes)) ```