Skip to content

Commit 036dc0c

Browse files
committed
Fix OS initialization
1 parent 6d33dda commit 036dc0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/helper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ function getOSClient () {
447447
// AWS ES configuration is different from other providers
448448
if (/.*amazonaws.*/.test(osHost)) {
449449
osClient = new opensearch.Client({
450-
hosts: osHost,
450+
node: osHost,
451451
amazonES: {
452452
region: config.get('DYNAMODB.AWS_REGION'),
453453
credentials: new AWS.EnvironmentCredentials('AWS')

0 commit comments

Comments
 (0)