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

omitempty for AbandonInput.Notify and AbandonInput.NotifyDetails fields #89

Merged
merged 1 commit into from
May 14, 2021

Conversation

chizhg
Copy link
Contributor

@chizhg chizhg commented May 14, 2021

Set omitempty for AbandonInput.Notify and AbandonInput.NotifyDetails fields.

The reason for this change is that if NotifyDetails is not set, notify_details will be unmarshalled as nill in the json string, which isn't allowed by the Gerrit server and will result in a 400 Bad Request response.

@andygrunwald andygrunwald merged commit eab0848 into andygrunwald:master May 14, 2021
@andygrunwald
Copy link
Owner

Thanks a lot, @chizhg.
Do you need a new tag or do you refer to the current sha in your modules?

@chizhg
Copy link
Contributor Author

chizhg commented May 14, 2021

Using the current sha is fine for me. Thanks for merging it!

@andygrunwald
Copy link
Owner

Great. Enjoy your day. And thanks again for the contribution. Much appreciated.

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