mirror of
https://github.com/allinssl/allinssl.git
synced 2025-12-15 09:55:37 +08:00
修复自动化部署条件分支后的节点无法到达的问题
修复ssh测试不兼容IPv6的问题
This commit is contained in:
@@ -264,7 +264,10 @@ func RunNode(node *WorkflowNode, ctx *ExecutionContext) error {
|
||||
lastStatus := ctx.GetStatus(node.Config["fromNodeId"].(string))
|
||||
for _, branch := range node.ConditionNodes {
|
||||
if branch.Config["type"] == string(lastStatus) {
|
||||
return RunNode(branch, ctx)
|
||||
err := RunNode(branch, ctx)
|
||||
if err != nil {
|
||||
return fmt.Errorf("执行条件分支失败: %v", err)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user