summaryrefslogtreecommitdiffstats
path: root/modules/migrations/base/retry_downloader.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/migrations/base/retry_downloader.go')
-rw-r--r--modules/migrations/base/retry_downloader.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/migrations/base/retry_downloader.go b/modules/migrations/base/retry_downloader.go
index e6c80038f1..623bfc86b5 100644
--- a/modules/migrations/base/retry_downloader.go
+++ b/modules/migrations/base/retry_downloader.go
@@ -182,14 +182,14 @@ func (d *RetryDownloader) GetPullRequests(page, perPage int) ([]*PullRequest, bo
}
// GetReviews returns pull requests reviews
-func (d *RetryDownloader) GetReviews(pullRequestNumber int64) ([]*Review, error) {
+func (d *RetryDownloader) GetReviews(pullRequestContext IssueContext) ([]*Review, error) {
var (
reviews []*Review
err error
)
err = d.retry(func() error {
- reviews, err = d.Downloader.GetReviews(pullRequestNumber)
+ reviews, err = d.Downloader.GetReviews(pullRequestContext)
return err
})