Skip to content

Conversation

@jasontedor
Copy link
Member

This commit removes a use of Setting#getRaw from the deprecation header tests. The use of Setting#getRaw is not needed here, the x-content infrastructure will take care of emitting the appropriate values here, and so the caller does not need to convert these to string representations of the settings values.

Relates #47258

This commit removes a use of Setting#getRaw from the deprecation header
tests. The use of Setting#getRaw is not needed here, the x-content
infrastructure will take care of emitting the appropriate values here,
and so the caller does not need to convert these to string
representations of the settings values.
@jasontedor jasontedor added :Core/Infra/Settings Settings infrastructure and APIs :Core/Infra/Core Core issues without another label >refactoring v8.0.0 v7.5.0 labels Sep 28, 2019
@jasontedor jasontedor requested a review from rjernst September 28, 2019 02:11
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra

Copy link
Contributor

@alpar-t alpar-t left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jasontedor jasontedor merged commit 3a36909 into elastic:master Sep 30, 2019
jasontedor added a commit that referenced this pull request Sep 30, 2019
This commit removes a use of Setting#getRaw from the deprecation header
tests. The use of Setting#getRaw is not needed here, the x-content
infrastructure will take care of emitting the appropriate values here,
and so the caller does not need to convert these to string
representations of the settings values.
@jasontedor jasontedor deleted the deprecation-handler-settings-get-raw branch September 30, 2019 10:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Core/Infra/Core Core issues without another label :Core/Infra/Settings Settings infrastructure and APIs >refactoring v7.5.0 v8.0.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants