Skip to content
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 propagating the default value for script settings #20183

Merged
merged 1 commit into from Aug 26, 2016

Conversation

dakrone
Copy link
Member

@dakrone dakrone commented Aug 26, 2016

Fixes an issue where the value for the script.engine.<lang>.inline
settings would be set properly, but would not accurately be reflected
in the include_defaults output. Adds a test to ensure the default raw
setting is now correct.

Resolves #20159

@dakrone dakrone added >bug :Core/Infra/Scripting Scripting abstractions, Painless, and Mustache v5.0.0-beta1 labels Aug 26, 2016
defaultIfNothingSet, Property.NodeScope);

if (langAndTypeSetting.exists(settings)) {
// fine-grained script.engine.groovy.inline
Copy link
Member

Choose a reason for hiding this comment

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

// fine-grained e.g. script.engine.groovy.inline?

@nik9000
Copy link
Member

nik9000 commented Aug 26, 2016

LGTM. Left a minor thing about a comment.

Fixes an issue where the value for the `script.engine.<lang>.inline`
settings would be _set_ properly, but would not accurately be reflected
in the `include_defaults` output. Adds a test to ensure the default raw
setting is now correct.

Resolves elastic#20159
@dakrone dakrone merged commit 3fbfb3e into elastic:master Aug 26, 2016
@dakrone dakrone deleted the prop-script-settings branch January 23, 2017 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Core/Infra/Scripting Scripting abstractions, Painless, and Mustache v5.0.0-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants