lenboo commented on code in PR #11591:
URL: https://github.com/apache/dolphinscheduler/pull/11591#discussion_r951146520
##########
dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ExecutorServiceImpl.java:
##########
@@ -274,10 +274,7 @@ public Map<String, Object>
checkProcessDefinitionValid(long projectCode, Process
if (processDefinition == null || projectCode !=
processDefinition.getProjectCode()) {
// check process definition exists
putMsg(result, Status.PROCESS_DEFINE_NOT_EXIST,
String.valueOf(processDefineCode));
- } else if (processDefinition.getReleaseState() != ReleaseState.ONLINE)
{
- // check process definition online
- putMsg(result, Status.PROCESS_DEFINE_NOT_RELEASE,
String.valueOf(processDefineCode), version);
- } else if (!checkSubProcessDefinitionValid(processDefinition)) {
+ } else if (!checkSubProcessDefinitionValid(processDefinition)) {
Review Comment:
sub process online ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]