TaoZex commented on code in PR #3493:
URL:
https://github.com/apache/incubator-seatunnel/pull/3493#discussion_r1028902180
##########
seatunnel-core/seatunnel-flink-starter/src/main/java/org/apache/seatunnel/core/starter/flink/command/FlinkApiTaskExecuteCommand.java:
##########
@@ -46,7 +47,11 @@ public FlinkApiTaskExecuteCommand(FlinkCommandArgs
flinkCommandArgs) {
@Override
public void execute() throws CommandExecuteException {
Path configFile = FileUtils.getConfigPath(flinkCommandArgs);
-
+ if (!configFile.toFile().exists()) {
Review Comment:
> All three type engine both use same FileUtils.getConfigPath, maybe you can
put check logic in `FileUtils.getConfigPath`, you know, for redunce duplicate
code.
Thank you for your suggestion, it is a good way.
--
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]