[6.7] [Task Manager] Provide "include_type_name: true" in put template (#30261) (#30304)

* [Task Manager] Provide "include_type_name: true" in put template (#30261)

* [Task Manager] Provide "include_type_name: true" in put template

* fix for 7.0+

* fix for 6.7
This commit is contained in:
Tim Sullivan 2019-02-07 08:17:29 -07:00 committed by GitHub
parent a2576c1598
commit a2dff171b8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -169,6 +169,7 @@ export class TaskStore {
const templateResult = await this.callCluster('indices.putTemplate', {
name: templateName,
include_type_name: true,
body: {
index_patterns: [this.index],
mappings: {