From edcb7aad23f73fb166efc3863dfb58e137ca05b4 Mon Sep 17 00:00:00 2001 From: "Mr.An" <42627702+SnowMoon-Dev@users.noreply.github.com> Date: Tue, 24 May 2022 10:18:03 +0800 Subject: [PATCH] fix#10214 Delete online workflows in batches, prompt information is accurate (#10215) --- .../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