diff options
Diffstat (limited to 'modules/doctor/doctor.go')
-rw-r--r-- | modules/doctor/doctor.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/doctor/doctor.go b/modules/doctor/doctor.go index 6451788f9d..20a32f1865 100644 --- a/modules/doctor/doctor.go +++ b/modules/doctor/doctor.go @@ -44,7 +44,7 @@ func (w *wrappedLevelLogger) Log(skip int, level log.Level, format string, v ... } func initDBDisableConsole(ctx context.Context, disableConsole bool) error { - setting.NewContext() + setting.LoadFromExisting() setting.InitDBConfig() setting.NewXORMLogService(disableConsole) |