修复导致无法安装的严重Bug

This commit is contained in:
GoEdgeLab
2021-08-05 19:53:54 +08:00
parent ec19842bf5
commit 7285c2ae09
6 changed files with 7 additions and 7 deletions

View File

@@ -274,7 +274,7 @@ func (this *APINode) autoUpgrade() error {
// 不使用remotelog(),因为此时还没有启动完成
logs.Println("[API_NODE]upgrade database starting ...")
err = setup.NewSQLExecutor(dbConfig).Run()
err = setup.NewSQLExecutor(dbConfig).Run(false)
if err != nil {
return errors.New("execute sql failed: " + err.Error())
}