Skip to content

Commit

Permalink
Merge pull request #35 from shurcooL/patch-1
Browse files Browse the repository at this point in the history
Fix Gerrit API docs link for ChangesService.GetChangeDetail.
  • Loading branch information
andygrunwald authored May 16, 2017
2 parents 361eb0e + 02da1a4 commit 978d5a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion changes.go
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ func (s *ChangesService) GetChange(changeID string, opt *ChangeOptions) (*Change
// This response will contain all votes for each label and include one combined vote.
// The combined label vote is calculated in the following order (from highest to lowest): REJECTED > APPROVED > DISLIKED > RECOMMENDED.
//
// Gerrit API docs: https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html#get-change
// Gerrit API docs: https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html#get-change-detail
func (s *ChangesService) GetChangeDetail(changeID string, opt *ChangeOptions) (*ChangeInfo, *Response, error) {
u := fmt.Sprintf("changes/%s/detail", changeID)
return s.getChangeInfoResponse(u, opt)
Expand Down

0 comments on commit 978d5a3

Please sign in to comment.