summaryrefslogtreecommitdiffstats
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.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/migrations/base/downloader.go b/modules/migrations/base/downloader.go
index 9a09fdac0a..f28d0b61e7 100644
--- a/modules/migrations/base/downloader.go
+++ b/modules/migrations/base/downloader.go
@@ -11,9 +11,9 @@ type Downloader interface {
GetMilestones() ([]*Milestone, error)
GetReleases() ([]*Release, error)
GetLabels() ([]*Label, error)
- GetIssues(start, limit int) ([]*Issue, error)
+ GetIssues(page, perPage int) ([]*Issue, bool, error)
GetComments(issueNumber int64) ([]*Comment, error)
- GetPullRequests(start, limit int) ([]*PullRequest, error)
+ GetPullRequests(page, perPage int) ([]*PullRequest, error)
}
// DownloaderFactory defines an interface to match a downloader implementation and create a downloader