Update unknown parameter handling. (#1568)

This commit is contained in:
Tomas Della Vedova
2021-10-18 16:01:55 +02:00
committed by GitHub
parent 070b9d75b9
commit 4492532727
84 changed files with 2094 additions and 3387 deletions

View File

@ -88,6 +88,7 @@ function isXPackTemplate (name) {
case '.deprecation-indexing-mappings':
case '.deprecation-indexing-settings':
case 'data-streams-mappings':
case '.logs-deprecation.elasticsearch-default':
return true
}
return false

View File

@ -103,7 +103,7 @@ function build (opts = {}) {
if (isXPack) {
// clean data streams
await client.indices.deleteDataStream({ name: '*' })
await client.indices.deleteDataStream({ name: '*', expand_wildcards: 'all' })
}
// clean all indices