You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampark.apache.org by be...@apache.org on 2022/11/24 01:20:55 UTC
[incubator-streampark] branch dev updated: [Bug] The copy function of the application does not copy the args information (#2083)
This is an automated email from the ASF dual-hosted git repository.
benjobs pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-streampark.git
The following commit(s) were added to refs/heads/dev by this push:
new 35b52c06b [Bug] The copy function of the application does not copy the args information (#2083)
35b52c06b is described below
commit 35b52c06b551f6b55b6fc88957cad58418f76d55
Author: macksonmu <ma...@gmail.com>
AuthorDate: Thu Nov 24 09:20:48 2022 +0800
[Bug] The copy function of the application does not copy the args information (#2083)
* [Bug] The copy function of the application does not copy the args information #2082
Co-authored-by: mucj7 <mu...@chinaunicom.cn>
---
.../streampark/console/core/service/impl/ApplicationServiceImpl.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/service/impl/ApplicationServiceImpl.java b/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/service/impl/ApplicationServiceImpl.java
index 716e231c6..b253dccdb 100644
--- a/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/service/impl/ApplicationServiceImpl.java
+++ b/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/service/impl/ApplicationServiceImpl.java
@@ -639,7 +639,7 @@ public class ApplicationServiceImpl extends ServiceImpl<ApplicationMapper, Appli
newApp.setJobName(jobName);
newApp.setClusterId(ExecutionMode.isSessionMode(oldApp.getExecutionModeEnum()) ? oldApp.getClusterId() : jobName);
- newApp.setArgs(appParam.getArgs());
+ newApp.setArgs(oldApp.getArgs());
newApp.setVersionId(oldApp.getVersionId());
newApp.setFlinkClusterId(oldApp.getFlinkClusterId());