Hisoka-X commented on code in PR #2386:
URL: 
https://github.com/apache/incubator-seatunnel/pull/2386#discussion_r944515018


##########
seatunnel-engine/seatunnel-engine-server/src/main/java/org/apache/seatunnel/engine/server/operation/DeployTaskOperation.java:
##########
@@ -42,8 +42,8 @@ public DeployTaskOperation(@NonNull Data 
taskImmutableInformation) {
 
     @Override
     protected NonCompletableFuture<?> doRun() throws Exception {
-        TaskExecutionService taskExecutionService = getService();
-        NonCompletableFuture<TaskExecutionState> voidCompletableFuture = 
taskExecutionService.deployTask(taskImmutableInformation);
+        SeaTunnelServer server = getService();
+        NonCompletableFuture<TaskExecutionState> voidCompletableFuture =  
server.getTaskExecutionService().deployTask(taskImmutableInformation);
         return voidCompletableFuture;

Review Comment:
   Fixed it



-- 
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