-
-
Notifications
You must be signed in to change notification settings - Fork 422
Make yaml output consistent with the json one #2417
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
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@ ## master #2417 +/- ## ========================================== + Coverage 67.15% 67.16% +0.01% ========================================== Files 210 210 Lines 20523 20523 ========================================== + Hits 13782 13785 +3 + Misses 5602 5600 -2 + Partials 1139 1138 -1
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wow I didn't know this existed! I like the approach to the problem
Uh oh!
There was an error while loading. Please reload this page.
Please check if the PR fulfills these requirements
See how to contribute
before creating one)
our contributing guidelines
UPGRADING.md
has been updated with a migration guide (for breaking changes)configuration.schema.json
updated if new parameters are added.What kind of change does this PR introduce?
Instead of using go struct to produce YAML output, we're now generating it starting from the JSON result using
sigs.k8s.io/yaml
.pros:
cons:
What is the current behavior?
Currently, some values in the JSON output are missing when using the YAML format.
What is the new behavior?
The yaml output is now consistent with the JSON one.
Does this PR introduce a breaking change, and is titled accordingly?
Other information