Skip to content

Commit

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

Co-authored-by: spalger <[email protected]>

Co-authored-by: Nicolas Chaulet <[email protected]>
Co-authored-by: spalger <[email protected]>
  • Loading branch information
3 people authored Jan 28, 2021
1 parent 228666c commit 983e2e4
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 @@ -326,7 +326,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 983e2e4

Please sign in to comment.