Browse Source

Update SeatunnelTask.java (#15621)

Co-authored-by: Rick Cheng <rickchengx@gmail.com>
Co-authored-by: xiangzihao <460888207@qq.com>
dev_wenjun_refactorMaster
王渔 9 months ago committed by GitHub
parent
commit
00008515c0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      dolphinscheduler-task-plugin/dolphinscheduler-task-seatunnel/src/main/java/org/apache/dolphinscheduler/plugin/task/seatunnel/SeatunnelTask.java

2
dolphinscheduler-task-plugin/dolphinscheduler-task-seatunnel/src/main/java/org/apache/dolphinscheduler/plugin/task/seatunnel/SeatunnelTask.java

@ -162,7 +162,7 @@ public class SeatunnelTask extends AbstractRemoteTask {
args.add(CONFIG_OPTIONS);
// TODO: Need further check for refactored resource center
// TODO Currently resourceName is `/xxx.sh`, it has more `/` and needs to be optimized
args.add(resourceInfo.getResourceName().substring(1));
args.add(resourceInfo.getResourceName().replaceFirst(".*:", ""));
});
}
return args;

Loading…
Cancel
Save