mirror of
https://gitee.com/dolphinscheduler/DolphinScheduler.git
synced 2024-12-01 19:58:29 +08:00
[Fix-16813] Missing implememts in isTaskExecutionRunnableForbidden (#16814)
This commit is contained in:
parent
f3b5d1f57d
commit
8340f3f803
@ -17,6 +17,7 @@
|
||||
|
||||
package org.apache.dolphinscheduler.server.master.engine.graph;
|
||||
|
||||
import org.apache.dolphinscheduler.common.enums.Flag;
|
||||
import org.apache.dolphinscheduler.dao.entity.TaskInstance;
|
||||
import org.apache.dolphinscheduler.plugin.task.api.enums.TaskExecutionStatus;
|
||||
import org.apache.dolphinscheduler.plugin.task.api.utils.TaskTypeUtils;
|
||||
@ -252,7 +253,7 @@ public class WorkflowExecutionGraph implements IWorkflowExecutionGraph {
|
||||
|
||||
@Override
|
||||
public boolean isTaskExecutionRunnableForbidden(final ITaskExecutionRunnable taskExecutionRunnable) {
|
||||
return false;
|
||||
return (taskExecutionRunnable.getTaskDefinition().getFlag() == Flag.NO);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user