Skip to content

Cherry-pick #25051 to 7.12: Update go-structform to 0.0.8#25179

Merged
urso merged 1 commit intoelastic:7.12from
urso:backport_25051_7.12
Apr 21, 2021
Merged

Cherry-pick #25051 to 7.12: Update go-structform to 0.0.8#25179
urso merged 1 commit intoelastic:7.12from
urso:backport_25051_7.12

Conversation

@urso
Copy link
Copy Markdown

@urso urso commented Apr 20, 2021

Cherry-pick of PR #25051 to 7.12 branch. Original message:

  • Bug

What does this PR do?

Update go structform and configure json encoding to encode NaN and Inf
as null values.

Why is it important?

The json encoder is used by all outputs and debug logging. NaN and Inf
are undefined in the JSON standart. By not being able to encode or even
display those values in the log output, we have data loss without being
able to identify the actual event.

Checklist

  • My code follows the style guidelines of this project
    - [ ] I have commented my code, particularly in hard-to-understand areas
    - [ ] I have made corresponding changes to the documentation
    - [ ] I have made corresponding change to the default configuration files
  • I have added tests that prove my fix is effective or that my feature works
  • I have added an entry in CHANGELOG.next.asciidoc or CHANGELOG-developer.next.asciidoc.

@urso urso added [zube]: In Review backport Team:Services (Deprecated) Label for the former Integrations-Services team labels Apr 20, 2021
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Apr 20, 2021
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/integrations-services (Team:Services)

@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Apr 20, 2021
@elasticmachine
Copy link
Copy Markdown
Contributor

elasticmachine commented Apr 20, 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

Expand to view the summary

Build stats

  • Build Cause: urso commented: /test

  • Start Time: 2021-04-20T18:38:56.409+0000

  • Duration: 115 min 17 sec

  • Commit: 30b1b57

Test stats 🧪

Test Results
Failed 0
Passed 91
Skipped 11
Total 102

Trends 🧪

Image of Build Times

Image of Tests

💚 Flaky test report

Tests succeeded.

Expand to view the summary

Test stats 🧪

Test Results
Failed 0
Passed 91
Skipped 11
Total 102

@urso
Copy link
Copy Markdown
Author

urso commented Apr 20, 2021

/test

@urso urso merged commit 194fa61 into elastic:7.12 Apr 21, 2021
@urso urso deleted the backport_25051_7.12 branch April 21, 2021 13:25
@zube zube bot removed the [zube]: Done label Jul 21, 2021
leweafan pushed a commit to leweafan/beats that referenced this pull request Apr 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport Team:Services (Deprecated) Label for the former Integrations-Services team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants