You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by jo...@apache.org on 2020/05/11 06:43:58 UTC
[incubator-dolphinscheduler] branch dev updated: 'ExecutionStatus'
(#2635)
This is an automated email from the ASF dual-hosted git repository.
journey pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-dolphinscheduler.git
The following commit(s) were added to refs/heads/dev by this push:
new daea87a 'ExecutionStatus' (#2635)
daea87a is described below
commit daea87a515f7cbcb391203e1bd09a385619486ed
Author: JinyLeeChina <42...@users.noreply.github.com>
AuthorDate: Mon May 11 14:43:49 2020 +0800
'ExecutionStatus' (#2635)
Co-authored-by: dailidong <da...@gmail.com>
Co-authored-by: qiaozhanwei <qi...@outlook.com>
---
.../java/org/apache/dolphinscheduler/common/enums/ExecutionStatus.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/enums/ExecutionStatus.java b/dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/enums/ExecutionStatus.java
index 1c336c8..ce141d0 100644
--- a/dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/enums/ExecutionStatus.java
+++ b/dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/enums/ExecutionStatus.java
@@ -76,7 +76,7 @@ public enum ExecutionStatus {
* @return status
*/
public boolean typeIsFailure(){
- return this == FAILURE || this == NEED_FAULT_TOLERANCE;
+ return this == FAILURE || this == NEED_FAULT_TOLERANCE || this == KILL;
}
/**