Update unknown parameter handling. (#1568)
This commit is contained in:
committed by
GitHub
parent
070b9d75b9
commit
4492532727
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Reference in New Issue
Block a user