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

Restore original Clone() type conversion behvavior. #66

Merged
merged 1 commit into from
Jul 5, 2022

Conversation

cmacknz
Copy link
Member

@cmacknz cmacknz commented Jul 5, 2022

The switch from tryToMapStr(m[k]) to (m[k]).(M) in #64 broke a large number of tests in Beats because of different types being returned.

This restores the original conversion results. The test coverage for mapstr isn't quite good enough it seems.

@cmacknz cmacknz added the Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team label Jul 5, 2022
@cmacknz cmacknz requested a review from a team as a code owner July 5, 2022 17:31
@cmacknz cmacknz self-assigned this Jul 5, 2022
@cmacknz cmacknz requested review from belimawr and faec and removed request for a team July 5, 2022 17:31
@elasticmachine
Copy link
Collaborator

elasticmachine commented Jul 5, 2022

💚 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

  • Start Time: 2022-07-05T17:33:03.966+0000

  • Duration: 10 min 52 sec

Test stats 🧪

Test Results
Failed 0
Passed 1076
Skipped 6
Total 1082

🤖 GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

@cmacknz cmacknz merged commit a09d65f into elastic:main Jul 5, 2022
@cmacknz cmacknz deleted the fix-mapstr-type-conversions branch July 5, 2022 17:44
@cmacknz
Copy link
Member Author

cmacknz commented Jul 5, 2022

I just merged this one since it is restoring code that was here originally. The tests in here do not cover every usage of the API unfortunately.

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.

2 participants