Browse Source

fix#10214 Delete online workflows in batches, prompt information is accurate (#10215)

3.1.0-release
Mr.An 3 years ago committed by GitHub
parent
commit
edcb7aad23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProcessDefinitionServiceImpl.java

2
dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProcessDefinitionServiceImpl.java

@ -711,7 +711,7 @@ public class ProcessDefinitionServiceImpl extends BaseServiceImpl implements Pro
// check process definition is already online // check process definition is already online
if (processDefinition.getReleaseState() == ReleaseState.ONLINE) { if (processDefinition.getReleaseState() == ReleaseState.ONLINE) {
putMsg(result, Status.PROCESS_DEFINE_STATE_ONLINE, String.valueOf(code)); putMsg(result, Status.PROCESS_DEFINE_STATE_ONLINE, processDefinition.getName());
return result; return result;
} }
// check process instances is already running // check process instances is already running

Loading…
Cancel
Save