-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix: delegating from deprecated setting #13481
Conversation
this has only been a concern for settings such as Boolean
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This appears to fix the issue 👍🏼
It's not clear to me why I needed to route through wrapped.value
, or if it was an explicit attempt to invoke the canonical proxy setting's validate
function (which is protected, but should be the same as the wrapped setting's validate
since they are clones of each other.
Good catch, though.
(cherry picked from commit 32b8739)
(cherry picked from commit 32b8739)
Release notes
Fix Logstash unable to start when using deprecated setting
http.enabled
What does this PR do?
Fixes a regression introduced in #13308 when setting
http.enabled
.Why is it important/What is the impact to the user?
Users can rename the setting (
api.enabled
) and not use the deprecated one, however need to be aware and this impacts the expectation for a smooth upgrade process in 7.xChecklist
I have made corresponding changes to the documentationI have made corresponding change to the default configuration files (and/or docker env variables)How to test this PR locally
Related issues