diff options
author | mrsdizzie <info@mrsdizzie.com> | 2019-07-06 16:32:15 -0400 |
---|---|---|
committer | techknowlogick <techknowlogick@gitea.io> | 2019-07-06 16:32:15 -0400 |
commit | 7166629d9c2b71fe29a717a121bc080ba656cda2 (patch) | |
tree | 360002447423e23eefa25d8f6da5c9fb20b26ca3 /modules/migrations | |
parent | 89aa08d372000da552a084e57276f2ea115e2e0c (diff) | |
download | gitea-7166629d9c2b71fe29a717a121bc080ba656cda2.tar.gz gitea-7166629d9c2b71fe29a717a121bc080ba656cda2.zip |
Fix typo in PR migration check (#7368)
Diffstat (limited to 'modules/migrations')
-rw-r--r-- | modules/migrations/migrate.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/migrations/migrate.go b/modules/migrations/migrate.go index 5adf7f8050..7fc7911f21 100644 --- a/modules/migrations/migrate.go +++ b/modules/migrations/migrate.go @@ -205,7 +205,7 @@ func migrateRepository(downloader base.Downloader, uploader base.Uploader, opts if opts.PullRequests { log.Trace("migrating pull requests and comments") - var prBatchSize = models.MaxBatchInsertSize("pullrequest") + var prBatchSize = uploader.MaxBatchInsertSize("pullrequest") for i := 1; ; i++ { prs, err := downloader.GetPullRequests(i, prBatchSize) if err != nil { |