diff options
Diffstat (limited to 'cmd/cmd.go')
-rw-r--r-- | cmd/cmd.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/cmd.go b/cmd/cmd.go index bb7ab8f9b7..ea025cd98e 100644 --- a/cmd/cmd.go +++ b/cmd/cmd.go @@ -65,7 +65,7 @@ func initDBDisableConsole(disableConsole bool) error { setting.InitDBConfig() setting.NewXORMLogService(disableConsole) - if err := db.SetEngine(); err != nil { + if err := db.InitEngine(); err != nil { return fmt.Errorf("models.SetEngine: %v", err) } return nil |