wolfboys commented on code in PR #1559:
URL: 
https://github.com/apache/incubator-streampark/pull/1559#discussion_r967081767


##########
streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/service/impl/ApplicationServiceImpl.java:
##########
@@ -623,7 +623,7 @@ public Long copy(Application appParam) {
         newApp.setClusterId(oldApp.getExecutionModeEnum() == 
ExecutionMode.KUBERNETES_NATIVE_SESSION ? oldApp.getClusterId() : jobName);
         args = args != null && !"".equals(args) ? args : oldApp.getArgs();
         newApp.setArgs(args);
-        newApp.setVersionId(100000L);
+        newApp.setVersionId(oldApp.getVersionId());

Review Comment:
   no. create app from copy, versionId cannot be the same as the original. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to