Specify API version for Elasticsearch client in ScenarioManager

This change specifically comes after the deprecation of POST for creating an index

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
This commit is contained in:
Tyler Smalley 2016-08-24 23:04:27 -07:00
parent aa20d83063
commit 2cf97d6c24

View file

@ -10,6 +10,7 @@ function ScenarioManager(server) {
this.client = new elasticsearch.Client({
host: server,
requestTimeout: 300000,
apiVersion: 'master',
defer: function () {
return Promise.defer();
}