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
Co-authored-by: spalger <[email protected]>
  • Loading branch information
nchaulet and spalger authored Jan 28, 2021
1 parent 4fc49ec commit 9b5e41a
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 9b5e41a

Please sign in to comment.