Skip to content

Commit f2edded

Browse files
lunnysilverwind
authored andcommitted
Move doctor package from modules to services (go-gitea#28856)
1 parent 6a9b559 commit f2edded

19 files changed

+2
-2
lines changed

cmd/doctor.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ import (
1515
"code.gitea.io/gitea/models/migrations"
1616
migrate_base "code.gitea.io/gitea/models/migrations/base"
1717
"code.gitea.io/gitea/modules/container"
18-
"code.gitea.io/gitea/modules/doctor"
1918
"code.gitea.io/gitea/modules/log"
2019
"code.gitea.io/gitea/modules/setting"
20+
"code.gitea.io/gitea/services/doctor"
2121

2222
"github.com/urfave/cli/v2"
2323
"xorm.io/xorm"

cmd/doctor_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import (
77
"context"
88
"testing"
99

10-
"code.gitea.io/gitea/modules/doctor"
1110
"code.gitea.io/gitea/modules/log"
11+
"code.gitea.io/gitea/services/doctor"
1212

1313
"github.com/stretchr/testify/assert"
1414
"github.com/urfave/cli/v2"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)