aboutsummaryrefslogtreecommitdiffstats
path: root/modules/repository/init.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/repository/init.go')
-rw-r--r--modules/repository/init.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/repository/init.go b/modules/repository/init.go
index 08c5aac1b8..cc59b8f29f 100644
--- a/modules/repository/init.go
+++ b/modules/repository/init.go
@@ -184,7 +184,7 @@ func checkInitRepository(owner, name string) (err error) {
return err
}
if isExist {
- return models.ErrRepoFilesAlreadyExist{
+ return repo_model.ErrRepoFilesAlreadyExist{
Uname: owner,
Name: name,
}