修复安装时数据库环境没有指定的问题

This commit is contained in:
GoEdgeLab
2021-01-18 20:21:55 +08:00
parent 4668f47c1b
commit 9447a81cd6

View File

@@ -83,6 +83,7 @@ func (this *InstallAction) RunPost(params struct {
Prefix: "edge",
}},
}
dbConfig.Default.DB = "prod"
dbConfigData, err := yaml.Marshal(dbConfig)
if err != nil {
this.Fail("生成数据库配置失败:" + err.Error())