summaryrefslogtreecommitdiffstats
path: root/cmd/cmd.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/cmd.go')
-rw-r--r--cmd/cmd.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd/cmd.go b/cmd/cmd.go
index 18d5db3987..cf2d9ef89e 100644
--- a/cmd/cmd.go
+++ b/cmd/cmd.go
@@ -57,8 +57,7 @@ func confirm() (bool, error) {
}
func initDB(ctx context.Context) error {
- setting.InitProviderFromExistingFile()
- setting.LoadCommonSettings()
+ setting.Init(&setting.Options{})
setting.LoadDBSetting()
setting.InitSQLLog(false)