aboutsummaryrefslogtreecommitdiffstats
path: root/modules/doctor/checkOldArchives.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/doctor/checkOldArchives.go')
-rw-r--r--modules/doctor/checkOldArchives.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/doctor/checkOldArchives.go b/modules/doctor/checkOldArchives.go
index a4e2ffbd1f..0db8794080 100644
--- a/modules/doctor/checkOldArchives.go
+++ b/modules/doctor/checkOldArchives.go
@@ -8,7 +8,7 @@ import (
"os"
"path/filepath"
- "code.gitea.io/gitea/models"
+ repo_model "code.gitea.io/gitea/models/repo"
"code.gitea.io/gitea/modules/log"
"code.gitea.io/gitea/modules/util"
)
@@ -16,7 +16,7 @@ import (
func checkOldArchives(logger log.Logger, autofix bool) error {
numRepos := 0
numReposUpdated := 0
- err := iterateRepositories(func(repo *models.Repository) error {
+ err := iterateRepositories(func(repo *repo_model.Repository) error {
if repo.IsEmpty {
return nil
}