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 type of normalize for process.io.bytes_skipped #2094

Merged
merged 4 commits into from
Nov 2, 2022

Conversation

efd6
Copy link
Contributor

@efd6 efd6 commented Nov 2, 2022

This fixes an incorrectly typed normalize in process.io.bytes_skipped and adds a regression test to prevent this from happening in the future.

Please take a look.

efd6 added 2 commits November 2, 2022 11:08
Fails with AssertionError: 'array' is not an instance of <class 'list'> : process.io.bytes_skipped
@efd6 efd6 added the backport label Nov 2, 2022
@efd6 efd6 self-assigned this Nov 2, 2022
@efd6 efd6 marked this pull request as ready for review November 2, 2022 00:50
@efd6 efd6 requested a review from a team as a code owner November 2, 2022 00:50
@efd6 efd6 added the bug Something isn't working label Nov 2, 2022
@taylor-swanson taylor-swanson merged commit 98ae70c into elastic:main Nov 2, 2022
taylor-swanson pushed a commit to taylor-swanson/ecs that referenced this pull request Nov 2, 2022
* Test that normalize fields are always lists

Fails with AssertionError: 'array' is not an instance of <class 'list'> : process.io.bytes_skipped

* Fix type of normalize for process.io.bytes_skipped

* update changelog

Co-authored-by: Kylie Geller <[email protected]>
taylor-swanson pushed a commit to taylor-swanson/ecs that referenced this pull request Nov 2, 2022
* Test that normalize fields are always lists

Fails with AssertionError: 'array' is not an instance of <class 'list'> : process.io.bytes_skipped

* Fix type of normalize for process.io.bytes_skipped

* update changelog

Co-authored-by: Kylie Geller <[email protected]>
taylor-swanson added a commit that referenced this pull request Nov 2, 2022
* [8.5] Fix type of normalize for process.io.bytes_skipped (#2094)

* Test that normalize fields are always lists

Fails with AssertionError: 'array' is not an instance of <class 'list'> : process.io.bytes_skipped

* Fix type of normalize for process.io.bytes_skipped

* update changelog

Co-authored-by: Kylie Geller <[email protected]>

* Update changelog

Co-authored-by: Dan Kortschak <[email protected]>
Co-authored-by: Kylie Geller <[email protected]>
taylor-swanson added a commit that referenced this pull request Nov 2, 2022
* [8.6] Fix type of normalize for process.io.bytes_skipped (#2094)

* Test that normalize fields are always lists

Fails with AssertionError: 'array' is not an instance of <class 'list'> : process.io.bytes_skipped

* Fix type of normalize for process.io.bytes_skipped

* update changelog

Co-authored-by: Kylie Geller <[email protected]>

* Update changelog

Co-authored-by: Dan Kortschak <[email protected]>
Co-authored-by: Kylie Geller <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
8.5.1 bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants