diff --git a/x-pack/plugins/ingest_manager/server/services/epm/archive/index.ts b/x-pack/plugins/ingest_manager/server/services/epm/archive/index.ts index 57da3f8e137e6..91ed489b3a5bb 100644 --- a/x-pack/plugins/ingest_manager/server/services/epm/archive/index.ts +++ b/x-pack/plugins/ingest_manager/server/services/epm/archive/index.ts @@ -126,7 +126,7 @@ function parseAndVerifyArchive(paths: string[]): ArchivePackage { ); } - const dataStreams = parseAndVerifyDatasets(paths, name, version); + const dataStreams = parseAndVerifyDataStreams(paths, name, version); const policyTemplates = parseAndVerifyPolicyTemplates(manifest); return { @@ -141,7 +141,7 @@ function parseAndVerifyArchive(paths: string[]): ArchivePackage { }; } -function parseAndVerifyDatasets( +function parseAndVerifyDataStreams( paths: string[], pkgName: string, pkgVersion: string diff --git a/x-pack/plugins/ingest_manager/server/services/epm/elasticsearch/template/install.ts b/x-pack/plugins/ingest_manager/server/services/epm/elasticsearch/template/install.ts index f3a1a8e7ae3b9..d32d5b8093c52 100644 --- a/x-pack/plugins/ingest_manager/server/services/epm/elasticsearch/template/install.ts +++ b/x-pack/plugins/ingest_manager/server/services/epm/elasticsearch/template/install.ts @@ -38,7 +38,7 @@ export const installTemplates = async ( installablePackage.name, ElasticsearchAssetType.indexTemplate ); - // build templates per dataset from yml files + // build templates per data stream from yml files const dataStreams = installablePackage.data_streams; if (!dataStreams) return []; // get template refs to save