-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
Make _account_id optional in AccountInfo #19
Conversation
The AccountInfo struct is used in other structs, such as ApprovalInfo, and _account_id may not always be set in those cases. In these cases if the _account_id field is not setup with 'omitempty' then the field will be included anyway even if Gerrit does not return it. Thanks to @perolausson for finding and explaining the issue.
@perolausson would you mind taking a look? I think this addresses what you brought up in #16 but I wanted to be sure before it's merged. |
I'll try it out later this evening! On 12 Oct 2016 16:36, "opalmer" notifications@github.com wrote:
|
LGTM |
This should address #16.