mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
Co-authored-by: Nicolas Chaulet <nicolas.chaulet@elastic.co>
This commit is contained in:
parent
0e7dccef43
commit
b3b613a1d5
1 changed files with 0 additions and 3 deletions
|
@ -291,7 +291,6 @@ async function installDataStreamComponentTemplates(params: {
|
|||
});
|
||||
const templateNames = Object.keys(templates);
|
||||
const templateEntries = Object.entries(templates);
|
||||
|
||||
// TODO: Check return values for errors
|
||||
await Promise.all(
|
||||
templateEntries.map(async ([name, body]) => {
|
||||
|
@ -307,7 +306,6 @@ async function installDataStreamComponentTemplates(params: {
|
|||
const { clusterPromise } = putComponentTemplate(esClient, logger, {
|
||||
body,
|
||||
name,
|
||||
create: true,
|
||||
});
|
||||
return clusterPromise;
|
||||
}
|
||||
|
@ -343,7 +341,6 @@ export async function ensureDefaultComponentTemplate(
|
|||
await putComponentTemplate(esClient, logger, {
|
||||
name: FLEET_GLOBAL_COMPONENT_TEMPLATE_NAME,
|
||||
body: FLEET_GLOBAL_COMPONENT_TEMPLATE_CONTENT,
|
||||
create: true,
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue