forked from elastic/elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix path.data list deprecation to work in all cases (elastic#72503)
path.data can appear as a list, or a string. On node startup, several Environment and Setting objects are created. The Environment propagates the path.data setting, but needs to choose whether it is propagated as a list or a string. This commit adjusts how it is propagated so that if the path.data is originally a string, it will stay a string, so that the deprecation message for path.data as a list can properly detect a list case. relates elastic#71205
- Loading branch information
Showing
2 changed files
with
34 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters