Skip to content

Commit

Permalink
Update README.md (#2410)
Browse files Browse the repository at this point in the history
For multiple endpoints example, url shema prefix should be exists only for the first endpoint.
  • Loading branch information
emret authored May 6, 2021
1 parent d7236e7 commit e679d49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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))
```

Expand Down

0 comments on commit e679d49

Please sign in to comment.