Browse Source

fail-fast for dependent check (#15197)

Co-authored-by: Leoric Yue <leoric.yue@zoom.us>
Co-authored-by: caishunfeng <caishunfeng2021@gmail.com>
3.2.1-prepare
Dyqer 12 months ago committed by GitHub
parent
commit
0bb48f3429
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      dolphinscheduler-task-plugin/dolphinscheduler-task-api/src/main/java/org/apache/dolphinscheduler/plugin/task/api/utils/DependentUtils.java

3
dolphinscheduler-task-plugin/dolphinscheduler-task-api/src/main/java/org/apache/dolphinscheduler/plugin/task/api/utils/DependentUtils.java

@ -42,8 +42,7 @@ public class DependentUtils {
case AND: case AND:
if (dependResultList.contains(DependResult.FAILED)) { if (dependResultList.contains(DependResult.FAILED)) {
dependResult = DependResult.FAILED; dependResult = DependResult.FAILED;
} } else if (dependResultList.contains(DependResult.WAITING)) {
if (dependResultList.contains(DependResult.WAITING)) {
dependResult = DependResult.WAITING; dependResult = DependResult.WAITING;
} }
break; break;

Loading…
Cancel
Save