mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
[Logs UI] [Metrics UI] Register deprecations for the logAlias and metricAlias config settings (#115845)
This commit is contained in:
parent
3cffe8b6a4
commit
5890a01896
1 changed files with 3 additions and 1 deletions
|
@ -142,7 +142,7 @@ const FIELD_DEPRECATION_FACTORIES: Record<string, (configNames: string[]) => Dep
|
|||
}),
|
||||
};
|
||||
|
||||
export const configDeprecations: ConfigDeprecationProvider = () => [
|
||||
export const configDeprecations: ConfigDeprecationProvider = ({ deprecate }) => [
|
||||
...Object.keys(FIELD_DEPRECATION_FACTORIES).map(
|
||||
(key): ConfigDeprecation =>
|
||||
(completeConfig, rootPath, addDeprecation) => {
|
||||
|
@ -179,6 +179,8 @@ export const configDeprecations: ConfigDeprecationProvider = () => [
|
|||
return completeConfig;
|
||||
}
|
||||
),
|
||||
deprecate('sources.default.logAlias', '8.0.0'),
|
||||
deprecate('sources.default.metricAlias', '8.0.0'),
|
||||
];
|
||||
|
||||
export const getInfraDeprecationsFactory =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue