From 3b70395d5711c3df57e7b411d85ce822ca2e9efc Mon Sep 17 00:00:00 2001 From: Spencer Alger Date: Fri, 17 Jan 2014 14:47:47 -0700 Subject: [PATCH] changed default API version to 0.90, to prevent from breaking things that will auto-upgrade --- src/lib/client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/client.js b/src/lib/client.js index 6aec73220..9f44bedc1 100755 --- a/src/lib/client.js +++ b/src/lib/client.js @@ -69,7 +69,7 @@ function Client(config) { delete this._namespaces; } - EsApiClient.prototype = _.funcEnum(config, 'apiVersion', Client.apis, 'master'); + EsApiClient.prototype = _.funcEnum(config, 'apiVersion', Client.apis, '0.90'); return new EsApiClient(config); }