summaryrefslogtreecommitdiffstats
path: root/modules/migrations
diff options
context:
space:
mode:
author6543 <6543@obermui.de>2020-12-02 19:36:06 +0100
committerGitHub <noreply@github.com>2020-12-02 18:36:06 +0000
commit2b4a08e9621e052845062ecd71ebfd37453c0383 (patch)
tree31d7ac557f570ea6aba5ca7e5bfd1f28a36f5729 /modules/migrations
parentfd1c3519c3435cbd09a2c065a6eeeb48bd81644e (diff)
downloadgitea-2b4a08e9621e052845062ecd71ebfd37453c0383.tar.gz
gitea-2b4a08e9621e052845062ecd71ebfd37453c0383.zip
Migrations: Use Process Manager to create own Context (#13792)
Diffstat (limited to 'modules/migrations')
-rw-r--r--modules/migrations/gitea_uploader.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/migrations/gitea_uploader.go b/modules/migrations/gitea_uploader.go
index 466c832754..2cb19685fc 100644
--- a/modules/migrations/gitea_uploader.go
+++ b/modules/migrations/gitea_uploader.go
@@ -125,7 +125,7 @@ func (g *GiteaLocalUploader) CreateRepo(repo *base.Repository, opts base.Migrate
}
r.DefaultBranch = repo.DefaultBranch
- r, err = repository.MigrateRepositoryGitData(g.doer, owner, r, base.MigrateOptions{
+ r, err = repository.MigrateRepositoryGitData(g.ctx, owner, r, base.MigrateOptions{
RepoName: g.repoName,
Description: repo.Description,
OriginalURL: repo.OriginalURL,