summaryrefslogtreecommitdiffstats
path: root/cmd/dump.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/dump.go')
-rw-r--r--cmd/dump.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/dump.go b/cmd/dump.go
index 36bb4f0305..44b180c32b 100644
--- a/cmd/dump.go
+++ b/cmd/dump.go
@@ -34,8 +34,8 @@ func runDump(ctx *cli.Context) {
if ctx.IsSet("config") {
setting.CustomConf = ctx.String("config")
}
- setting.NewConfigContext()
- models.LoadModelsConfig()
+ setting.NewContext()
+ models.LoadConfigs()
models.SetEngine()
log.Printf("Dumping local repositories...%s", setting.RepoRootPath)