Skip to content

Commit

Permalink
refactor(dbm-services): 优化模拟执行日志 TencentBlueKing#7140
Browse files Browse the repository at this point in the history
  • Loading branch information
ymakedaq committed Sep 26, 2024
1 parent 8676f0c commit fffc952
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ func (t *SimulationTask) executeOneObject(e ExcuteSQLFileObj, containerName stri
}
realexcutedbs = util.FilterOutStringSlice(intentionDbs, ignoreDbs)
if len(realexcutedbs) == 0 {
return "", "", fmt.Errorf("the changed db does not exist")
return "", "", fmt.Errorf("需要执行的db:%v,需要忽略的db:%v,查询线上存在的db,计算后没有找到任何变更的目标db,请检查你的输入是否正确", e.DbNames, e.IgnoreDbNames)
}
for idx, cmd := range t.getLoadSQLCmd(t.Path, e.SQLFile, realexcutedbs) {
sstdout += util.RemovePassword(cmd) + "\n"
Expand Down

0 comments on commit fffc952

Please sign in to comment.