Skip to content

Commit

Permalink
More dataset -> data stream renaming.
Browse files Browse the repository at this point in the history
  • Loading branch information
skh committed Oct 5, 2020
1 parent df23d82 commit f134573
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -141,7 +141,7 @@ function parseAndVerifyArchive(paths: string[]): ArchivePackage {
};
}

function parseAndVerifyDatasets(
function parseAndVerifyDataStreams(
paths: string[],
pkgName: string,
pkgVersion: string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f134573

Please sign in to comment.