summaryrefslogtreecommitdiffstats
path: root/services/migrations
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2024-03-01 03:23:00 +0100
committerGergely Nagy <forgejo@gergo.csillger.hu>2024-03-04 07:10:53 +0100
commitff8cb299d1061f090f605dc1aa7a842642b50b44 (patch)
treeec467fbb9f91e61584c7dc94c2ab746ad3800ed4 /services/migrations
parent[I18N] Translations update from Weblate (#2521) (diff)
downloadforgejo-ff8cb299d1061f090f605dc1aa7a842642b50b44.tar.xz
forgejo-ff8cb299d1061f090f605dc1aa7a842642b50b44.zip
Move migration functions to services layer (#29497)
Diffstat (limited to 'services/migrations')
-rw-r--r--services/migrations/gitea_uploader.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/migrations/gitea_uploader.go b/services/migrations/gitea_uploader.go
index 99a44dff0f..717be7b7f3 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,