mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
[types removal] The parameter include_type_name should be explicitly specified in get indices requests to prepare for 7.0. In 7.0 include_type_name will default to 'false', which means responses will omit the type name in mapping definitions." (#32891)
This commit is contained in:
parent
71d981762d
commit
db9b734fe2
1 changed files with 4 additions and 1 deletions
|
@ -50,7 +50,10 @@ export const createListRoute = () => ({
|
|||
const dataIndexConfig = sampleDataset.dataIndices[i];
|
||||
const index = createIndexName(sampleDataset.id, dataIndexConfig.id);
|
||||
try {
|
||||
const indexExists = await callWithRequest(request, 'indices.exists', { index: index });
|
||||
const indexExists = await callWithRequest(request, 'indices.exists', {
|
||||
index: index,
|
||||
include_type_name: false,
|
||||
});
|
||||
if (!indexExists) {
|
||||
sampleDataset.status = NOT_INSTALLED;
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue