Skip to content

Commit

Permalink
Tweak comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
cjcenizal committed Jun 26, 2020
1 parent 62923c3 commit cdaf427
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default function ({ getService }: FtrProviderContext) {
await es.dataManagement.saveComposableIndexTemplate({
name,
body: {
// We need to match the names of backing indices with this template
// We need to match the names of backing indices with this template.
index_patterns: [name + '*'],
template: {
mappings: {
Expand All @@ -50,7 +50,6 @@ export default function ({ getService }: FtrProviderContext) {

const deleteDataStream = async (name: string) => {
await es.dataManagement.deleteDataStream({ name });

await deleteComposableIndexTemplate(name);
};

Expand Down

0 comments on commit cdaf427

Please sign in to comment.