Skip to content

Fix path.data as comma separated string (#76202)#79272

Merged
rjernst merged 2 commits intoelastic:masterfrom
rjernst:mdp30
Oct 18, 2021
Merged

Fix path.data as comma separated string (#76202)#79272
rjernst merged 2 commits intoelastic:masterfrom
rjernst:mdp30

Conversation

@rjernst
Copy link
Copy Markdown
Member

@rjernst rjernst commented Oct 15, 2021

For multiple data paths, there are several allowed varieties of
specifcying the paths. The yaml list forms, both single and multi line,
are allowed, but another form is a string containing commas that is
parsed as a list. This latter form was broken recently by the
refactoring of path.data parsing to emit deprecation warnings for MDP.
This commit fixes the comma separated string case and adds a test.

closes #76181

For multiple data paths, there are several allowed varieties of
specifcying the paths. The yaml list forms, both single and multi line,
are allowed, but another form is a string containing commas that is
parsed as a list. This latter form was broken recently by the
refactoring of path.data parsing to emit deprecation warnings for MDP.
This commit fixes the comma separated string case and adds a test.

closes elastic#76181
@rjernst rjernst added >non-issue :Core/Infra/Core Core issues without another label v8.0.0 labels Oct 15, 2021
@elasticmachine elasticmachine added the Team:Core/Infra Meta label for core/infra team label Oct 15, 2021
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-core-infra (Team:Core/Infra)

@rjernst
Copy link
Copy Markdown
Member Author

rjernst commented Oct 15, 2021

This is actually a forward port of #76202, which is now applicable to master since MDP was added back.

@rjernst rjernst mentioned this pull request Oct 15, 2021
17 tasks
Copy link
Copy Markdown
Contributor

@ChrisHegarty ChrisHegarty left a comment

Choose a reason for hiding this comment

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

LGTM

@rjernst
Copy link
Copy Markdown
Member Author

rjernst commented Oct 18, 2021

@elasticmachine run elasticsearch-ci/part-1

@rjernst rjernst merged commit 94773fc into elastic:master Oct 18, 2021
@rjernst rjernst deleted the mdp30 branch October 18, 2021 16:15
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 >non-issue Team:Core/Infra Meta label for core/infra team v8.0.0-beta1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

path.data does not accept the legacy format with a comma-separated list for MDP anymore

4 participants