Skip to content

Commit

Permalink
Add deprecation level for data plugin config renames (#118442) (#118715)
Browse files Browse the repository at this point in the history
* Add deprecation level for data plugin config renames

* Make warning level instead of critical

Co-authored-by: Kibana Machine <[email protected]>

Co-authored-by: Lukas Olson <[email protected]>
  • Loading branch information
kibanamachine and lukasolson authored Nov 16, 2021
1 parent be9ca5d commit 7aff34b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/plugins/data/server/config_deprecations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ export const autocompleteConfigDeprecationProvider: ConfigDeprecationProvider =
}) => [
renameFromRoot(
'kibana.autocompleteTerminateAfter',
'data.autocomplete.valueSuggestions.terminateAfter'
'data.autocomplete.valueSuggestions.terminateAfter',
{ level: 'warning' }
),
renameFromRoot('kibana.autocompleteTimeout', 'data.autocomplete.valueSuggestions.timeout'),
renameFromRoot('kibana.autocompleteTimeout', 'data.autocomplete.valueSuggestions.timeout', {
level: 'warning',
}),
];

0 comments on commit 7aff34b

Please sign in to comment.