aboutsummaryrefslogtreecommitdiffstats
path: root/modules/migrations/base/downloader.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/migrations/base/downloader.go')
-rw-r--r--modules/migrations/base/downloader.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/migrations/base/downloader.go b/modules/migrations/base/downloader.go
index 71c8f3eaf9..3c581b8699 100644
--- a/modules/migrations/base/downloader.go
+++ b/modules/migrations/base/downloader.go
@@ -13,9 +13,9 @@ import (
// GetCommentOptions represents an options for get comment
type GetCommentOptions struct {
- IssueNumber int64
- Page int
- PageSize int
+ Context IssueContext
+ Page int
+ PageSize int
}
// Downloader downloads the site repo information
@@ -30,7 +30,7 @@ type Downloader interface {
GetComments(opts GetCommentOptions) ([]*Comment, bool, error)
SupportGetRepoComments() bool
GetPullRequests(page, perPage int) ([]*PullRequest, bool, error)
- GetReviews(pullRequestNumber int64) ([]*Review, error)
+ GetReviews(pullRequestContext IssueContext) ([]*Review, error)
FormatCloneURL(opts MigrateOptions, remoteAddr string) (string, error)
}