aboutsummaryrefslogtreecommitdiffstats
path: root/modules/repository/generate.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/repository/generate.go')
-rw-r--r--modules/repository/generate.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/repository/generate.go b/modules/repository/generate.go
index 756cfe227e..3f83f51bb7 100644
--- a/modules/repository/generate.go
+++ b/modules/repository/generate.go
@@ -267,7 +267,7 @@ func GenerateRepository(ctx context.Context, doer, owner *user_model.User, templ
return nil, err
}
if isExist {
- return nil, models.ErrRepoFilesAlreadyExist{
+ return nil, repo_model.ErrRepoFilesAlreadyExist{
Uname: generateRepo.OwnerName,
Name: generateRepo.Name,
}