Skip to content

Commit

Permalink
Pin elastic searcg api version
Browse files Browse the repository at this point in the history
  • Loading branch information
tusbar committed Feb 11, 2019
1 parent 68dcbcd commit 392c811
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/utils/elastic.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ const indices = {
class Elastic {
constructor() {
this.client = new elasticsearch.Client({
host: process.env.ELASTIC_HOST || 'localhost:9200'
host: process.env.ELASTIC_HOST || 'localhost:9200',
apiVersion: '6.5'
})
}

Expand Down

0 comments on commit 392c811

Please sign in to comment.