forked from forgejo/forgejo
Migrations: Use Process Manager to create own Context (#13792)
This commit is contained in:
parent
fd1c3519c3
commit
2b4a08e962
7 changed files with 34 additions and 15 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue