This is an automated email from the ASF dual-hosted git repository.
caishunfeng pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git
The following commit(s) were added to refs/heads/dev by this push:
new edcb7aad23 fix#10214 Delete online workflows in batches, prompt
information is accurate (#10215)
edcb7aad23 is described below
commit edcb7aad23f73fb166efc3863dfb58e137ca05b4
Author: Mr.An <[email protected]>
AuthorDate: Tue May 24 10:18:03 2022 +0800
fix#10214 Delete online workflows in batches, prompt information is
accurate (#10215)
---
.../dolphinscheduler/api/service/impl/ProcessDefinitionServiceImpl.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProcessDefinitionServiceImpl.java
b/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProcessDefinitionServiceImpl.java
index 955af7c3ad..ad05c456f5 100644
---
a/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProcessDefinitionServiceImpl.java
+++
b/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
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;
}
// check process instances is already running