diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2024-03-01 10:23:00 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-01 02:23:00 +0000 |
commit | 58ce1de994c2a036ebf7137c143ce193694d740d (patch) | |
tree | 0e88485e095f31a9124e2643d528d323c30b9ce5 /services/migrations | |
parent | 5e32cd6beb1a4f11bd19e6d44ba2a50828b686ef (diff) | |
download | gitea-58ce1de994c2a036ebf7137c143ce193694d740d.tar.gz gitea-58ce1de994c2a036ebf7137c143ce193694d740d.zip |
Move migration functions to services layer (#29497)
Diffstat (limited to 'services/migrations')
-rw-r--r-- | services/migrations/gitea_uploader.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/migrations/gitea_uploader.go b/services/migrations/gitea_uploader.go index 1c9824fe3a..87691bf729 100644 --- a/services/migrations/gitea_uploader.go +++ b/services/migrations/gitea_uploader.go @@ -120,7 +120,7 @@ func (g *GiteaLocalUploader) CreateRepo(repo *base.Repository, opts base.Migrate r.DefaultBranch = repo.DefaultBranch r.Description = repo.Description - r, err = repo_module.MigrateRepositoryGitData(g.ctx, owner, r, base.MigrateOptions{ + r, err = repo_service.MigrateRepositoryGitData(g.ctx, owner, r, base.MigrateOptions{ RepoName: g.repoName, Description: repo.Description, OriginalURL: repo.OriginalURL, |