From 501795a5a7947c62cc1bb8ebedf3d63f85645de1 Mon Sep 17 00:00:00 2001 From: baoliang Date: Fri, 24 May 2019 14:48:30 +0800 Subject: [PATCH] update --- .../cn/escheduler/api/service/ProcessDefinitionService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/escheduler-api/src/main/java/cn/escheduler/api/service/ProcessDefinitionService.java b/escheduler-api/src/main/java/cn/escheduler/api/service/ProcessDefinitionService.java index b83d474679..45ff487f5e 100644 --- a/escheduler-api/src/main/java/cn/escheduler/api/service/ProcessDefinitionService.java +++ b/escheduler-api/src/main/java/cn/escheduler/api/service/ProcessDefinitionService.java @@ -295,7 +295,7 @@ public class ProcessDefinitionService extends BaseDAGService { //custom global params List globalParamsList = new ArrayList<>(); if (processData.getGlobalParams() != null && processData.getGlobalParams().size() > 0) { - Set userDefParamsSet = new HashSet<>(globalParamsList); + Set userDefParamsSet = new HashSet<>(processData.getGlobalParams()); globalParamsList = new ArrayList<>(userDefParamsSet); } processDefine.setGlobalParamList(globalParamsList);