[DS-6582][Master] fix condition task state (#6583)
Co-authored-by: caishunfeng <534328519@qq.com>
This commit is contained in:
parent
c82d908690
commit
6cf3328be1
|
|
@ -90,7 +90,6 @@ public class ConditionTaskProcessor extends BaseTaskProcessor {
|
|||
Thread.currentThread().setName(threadLoggerInfoName);
|
||||
initTaskParameters();
|
||||
logger.info("dependent task start");
|
||||
endTask();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
@ -103,6 +102,7 @@ public class ConditionTaskProcessor extends BaseTaskProcessor {
|
|||
public void run() {
|
||||
if (conditionResult.equals(DependResult.WAITING)) {
|
||||
setConditionResult();
|
||||
endTask();
|
||||
} else {
|
||||
endTask();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue