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

Fixes #23325: Simplify YAML encoding workaround #4996

Conversation

fanf
Copy link
Member

@fanf fanf commented Aug 22, 2023

https://issues.rudder.io/issues/23325

As far as I saw, the only change was the addition of dumperOptions.setIndentWithIndicator(true), so I removed everything else that was possible to rely on what the lib provide and avoid duplicating code.
I also reodered code so that it follows the original one and make comparison easier.

I've added a test so that we are informed if at some point, the base lib bug is corrected (and that our encoder works).

Alse change licence header (that's not our copyright, we copied it, so it must be said, even if the original license allows that).

@Normation-Quality-Assistant
Copy link
Contributor

OK, merging this PR

@Normation-Quality-Assistant Normation-Quality-Assistant merged commit 0b57d43 into Normation:branches/rudder/8.0 Aug 23, 2023
15 checks passed
@fanf fanf deleted the bug_23325/simplify_yaml_encoding_workaround branch March 15, 2024 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants