fail-fast for dependent check (#15197)
Co-authored-by: Leoric Yue <leoric.yue@zoom.us> Co-authored-by: caishunfeng <caishunfeng2021@gmail.com>
This commit is contained in:
parent
14272dafab
commit
0bb48f3429
|
|
@ -42,8 +42,7 @@ public class DependentUtils {
|
|||
case AND:
|
||||
if (dependResultList.contains(DependResult.FAILED)) {
|
||||
dependResult = DependResult.FAILED;
|
||||
}
|
||||
if (dependResultList.contains(DependResult.WAITING)) {
|
||||
} else if (dependResultList.contains(DependResult.WAITING)) {
|
||||
dependResult = DependResult.WAITING;
|
||||
}
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in New Issue