Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix lint
  • Loading branch information
lunny committed Jun 14, 2021
commit e6cb781f42d81b39fe4ec8694c9fb62ac98cf6b4
2 changes: 1 addition & 1 deletion modules/migrations/github.go
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ func (g *GithubDownloaderV3) GetComments(issueNumber int64) ([]*base.Comment, er
return allComments, nil
}

// GetComments returns comments according issueNumber
// GetAllComments returns repository comments according page and perPageSize
func (g *GithubDownloaderV3) GetAllComments(page, perPageSize int) ([]*base.Comment, bool, error) {
var (
allComments = make([]*base.Comment, 0, perPageSize)
Expand Down