mirror of
https://github.com/go-gitea/gitea.git
synced 2025-09-01 21:42:57 +09:00
Move and rename UpdateRepository (#34136)
This commit is contained in:
@ -196,7 +196,7 @@ func adoptRepository(ctx context.Context, repo *repo_model.Repository, defaultBr
|
||||
return fmt.Errorf("setDefaultBranch: %w", err)
|
||||
}
|
||||
}
|
||||
if err = repo_module.UpdateRepository(ctx, repo, false); err != nil {
|
||||
if err = updateRepository(ctx, repo, false); err != nil {
|
||||
return fmt.Errorf("updateRepository: %w", err)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user