Skip to content
This repository was archived by the owner on Mar 12, 2025. It is now read-only.

Commit ee74eb6

Browse files
author
Vikas Agarwal
committed
Fixing ES config
1 parent d245319 commit ee74eb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/es-client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ function getESClient () {
2929
if (/.*amazonaws.*/.test(host)) {
3030
esClient = new elasticsearch.Client({
3131
apiVersion: config.get('ES.ES_API_VERSION'),
32-
hosts: host,
32+
node: host,
3333
connectionClass: require('http-aws-es'), // eslint-disable-line global-require
3434
});
3535
console.log('esClient=> ', esClient)

0 commit comments

Comments
 (0)