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

Implement Static Analysis and Fix Bugs #38

Merged
merged 18 commits into from
Jun 23, 2017
Merged
Prev Previous commit
Next Next commit
add missing comment above
  • Loading branch information
opalmer committed Jun 18, 2017
commit 02a845f4bb9317f1faa4d215edfd85cbdbb8c474
5 changes: 5 additions & 0 deletions changes.go
Original file line number Diff line number Diff line change
Expand Up @@ -675,6 +675,11 @@ func (s *ChangesService) FixChange(changeID string, input *FixInput) (*ChangeInf
return v, resp, err
}

// SubmitChange submits a change.
//
// The request body only needs to include a SubmitInput entity if submitting on behalf of another user.
//
// Gerrit API docs: https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html#submit-change
func (s *ChangesService) SubmitChange(changeID string, input *SubmitInput) (*ChangeInfo, *Response, error) {
u := fmt.Sprintf("changes/%s/submit", changeID)

Expand Down