aboutsummaryrefslogtreecommitdiffstats
path: root/modules/doctor/doctor.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/doctor/doctor.go')
-rw-r--r--modules/doctor/doctor.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/doctor/doctor.go b/modules/doctor/doctor.go
index 10838a7512..ceee322852 100644
--- a/modules/doctor/doctor.go
+++ b/modules/doctor/doctor.go
@@ -28,7 +28,7 @@ type Check struct {
}
func initDBSkipLogger(ctx context.Context) error {
- setting.Init(&setting.Options{})
+ setting.MustInstalled()
setting.LoadDBSetting()
if err := db.InitEngine(ctx); err != nil {
return fmt.Errorf("db.InitEngine: %w", err)