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 <[email protected]>
AuthorDate: Mon May 11 14:43:49 2020 +0800

    'ExecutionStatus' (#2635)
    
    Co-authored-by: dailidong <[email protected]>
    Co-authored-by: qiaozhanwei <[email protected]>
---
 .../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;
    }
 
  /**

Reply via email to