v7.0.0-rc1 support 🚀 (#792)

Support for Elasticsearch `v7.0.0-rc1`
This commit is contained in:
Tomas Della Vedova
2019-03-28 08:32:24 +01:00
committed by GitHub
parent c7675708de
commit 1f6c68df9c
264 changed files with 733 additions and 3156 deletions

View File

@ -51,15 +51,6 @@ function buildIlmRemovePolicy (opts) {
options = {}
}
// promises support
if (callback == null) {
return new Promise((resolve, reject) => {
ilmRemovePolicy(params, options, (err, body) => {
err ? reject(err) : resolve(body)
})
})
}
// check required parameters
if (params.body != null) {
const err = new ConfigurationError('This API does not require a body')