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

👻 Add omitempty for Violation Extras #331

Merged
merged 2 commits into from
Sep 14, 2023

Conversation

eemcmullan
Copy link
Contributor

For https://github.com/konveyor-ecosystem/kantra we need to allow an option to generate the reports in JSON. The JSON marshal was failing as this field was leaving an empty map.

@pranavgaikwad
Copy link
Contributor

@eemcmullan please remove extras fields from the demo-output.yaml and this should be good to go

@pranavgaikwad pranavgaikwad changed the title Add omitempty for Violation Extras 👻 Add omitempty for Violation Extras Sep 14, 2023
Copy link
Contributor

@pranavgaikwad pranavgaikwad left a comment

Choose a reason for hiding this comment

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

Update demo-output.yaml to remove extras: [] from violations

Signed-off-by: Emily McMullan <[email protected]>
Signed-off-by: Emily McMullan <[email protected]>
@pranavgaikwad pranavgaikwad merged commit 2db2e2d into konveyor:main Sep 14, 2023
6 checks passed
@eemcmullan eemcmullan deleted the omit-extras branch September 26, 2024 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants