Skip to content

Commit

Permalink
[7.11] [Fleet] Do not defined aliases inside datastream template (#89512
Browse files Browse the repository at this point in the history
) (#89644)

Co-authored-by: spalger <[email protected]>
Co-authored-by: Nicolas Chaulet <[email protected]>
  • Loading branch information
3 people authored Jan 28, 2021
1 parent 816c9f1 commit 149da79
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
1 change: 0 additions & 1 deletion x-pack/plugins/fleet/common/types/models/epm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,6 @@ export interface IndexTemplate {
template: {
settings: any;
mappings: any;
aliases: object;
};
data_stream: { hidden?: boolean };
composed_of: string[];
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -335,8 +335,6 @@ function getBaseTemplate(
properties: mappings.properties,
_meta,
},
// To be filled with the aliases that we need
aliases: {},
},
data_stream: { hidden },
composed_of: composedOfTemplates,
Expand Down

0 comments on commit 149da79

Please sign in to comment.