From daea87a515f7cbcb391203e1bd09a385619486ed Mon Sep 17 00:00:00 2001 From: JinyLeeChina <42576980+JinyLeeChina@users.noreply.github.com> Date: Mon, 11 May 2020 14:43:49 +0800 Subject: [PATCH] 'ExecutionStatus' (#2635) Co-authored-by: dailidong Co-authored-by: qiaozhanwei --- .../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 1c336c89a..ce141d059 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; } /** -- GitLab