ChengJie1053 commented on code in PR #2943:
URL:
https://github.com/apache/incubator-streampark/pull/2943#discussion_r1294241666
##########
streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/service/impl/ResourceServiceImpl.java:
##########
@@ -284,7 +285,7 @@ public RestResponse checkResource(Resource resourceParam)
throws JsonProcessingE
Manifest manifest = Utils.getJarManifest(jarFile);
String mainClass = manifest.getMainAttributes().getValue("Main-Class");
- if (mainClass == null) {
+ if (mainClass == null &&
StringUtils.isBlank(resourceParam.getMainClass())) {
Review Comment:
Ok, thanks for reviewing the code
--
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]