Skip to content

Avoid crash with the experimental fortio pedantic formatter#544

Merged
mum4k merged 1 commit intoenvoyproxy:masterfrom
oschaaf:fortio-format-panic-bug
Sep 18, 2020
Merged

Avoid crash with the experimental fortio pedantic formatter#544
mum4k merged 1 commit intoenvoyproxy:masterfrom
oschaaf:fortio-format-panic-bug

Conversation

@oschaaf
Copy link
Copy Markdown
Member

@oschaaf oschaaf commented Sep 17, 2020

I forgot the last step, which is to actually teach the output
formatter factory when to construct the new formatter. Sorry!

  • Amends a pre-existing test to avoid regression when adding new
    output formats in the future
  • Fix the issue, add the new proto enum option to the switch
    statement.

Fixes #543

Signed-off-by: Otto van der Schaaf oschaaf@we-amp.com

formatter factory when to construct the new formatter. Sorry!

- Amends a pre-existing test to avoid regression when adding new
output formats in the future
- Fix the issue

Fixes envoyproxy#543

Signed-off-by: Otto van der Schaaf <oschaaf@we-amp.com>
@oschaaf oschaaf added the waiting-for-review A PR waiting for a review. label Sep 17, 2020
Copy link
Copy Markdown
Collaborator

@mum4k mum4k left a comment

Choose a reason for hiding this comment

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

Thank you for adding the test.

@mum4k mum4k merged commit 6442e38 into envoyproxy:master Sep 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

waiting-for-review A PR waiting for a review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fortio Output Transform: panic not reached error when using experimental_fortio_pedantic format

2 participants