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

Preserve empty untyped arrays when reifying #189

Merged
merged 6 commits into from
Nov 10, 2021
Merged

Conversation

pebrc
Copy link
Contributor

@pebrc pebrc commented Oct 15, 2021

Fixes #188

This adds a special case for empty arrays when reifying configuration objects during Unpack. This is a breaking change compared to existing behaviour as visible in the test cases I adjusted. The original issue #160 that introduced said tests is however still addressed.

@elasticmachine
Copy link

elasticmachine commented Oct 15, 2021

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Duration: 4 min 25 sec

@thbkrkr

This comment has been minimized.

@kuisathaverat kuisathaverat requested review from jsoriano, kvch and a team and removed request for jsoriano and kvch November 2, 2021 11:53
.ci/Jenkinsfile Outdated Show resolved Hide resolved
Co-authored-by: Ivan Fernandez Calvo <kuisathaverat@users.noreply.github.com>
@ruflin ruflin added the Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team label Nov 3, 2021
@ruflin
Copy link
Contributor

ruflin commented Nov 3, 2021

@kvch or @faec Could one of you take a look at this change?

@kvch
Copy link
Contributor

kvch commented Nov 5, 2021

@ruflin We should probably create a new release and adopt it in Beats soon.

@ruflin
Copy link
Contributor

ruflin commented Nov 5, 2021

@kvch SGTM, will you take care of it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Empty arrays are turned into nil
6 participants