This is an automated email from the ASF dual-hosted git repository.

kerwin pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git


The following commit(s) were added to refs/heads/dev by this push:
     new cff53feaeb [Improvement-14464][Task] Remove the useless 
taskResultString (#14465)
cff53feaeb is described below

commit cff53feaeb44e38584fe7856e3612dc620ce20e7
Author: Rick Cheng <[email protected]>
AuthorDate: Thu Jul 6 17:31:33 2023 +0800

    [Improvement-14464][Task] Remove the useless taskResultString (#14465)
---
 .../dolphinscheduler/plugin/task/api/AbstractCommandExecutor.java   | 6 ------
 1 file changed, 6 deletions(-)

diff --git 
a/dolphinscheduler-task-plugin/dolphinscheduler-task-api/src/main/java/org/apache/dolphinscheduler/plugin/task/api/AbstractCommandExecutor.java
 
b/dolphinscheduler-task-plugin/dolphinscheduler-task-api/src/main/java/org/apache/dolphinscheduler/plugin/task/api/AbstractCommandExecutor.java
index 5fcdab0f5d..17c52084ad 100644
--- 
a/dolphinscheduler-task-plugin/dolphinscheduler-task-api/src/main/java/org/apache/dolphinscheduler/plugin/task/api/AbstractCommandExecutor.java
+++ 
b/dolphinscheduler-task-plugin/dolphinscheduler-task-api/src/main/java/org/apache/dolphinscheduler/plugin/task/api/AbstractCommandExecutor.java
@@ -93,11 +93,6 @@ public abstract class AbstractCommandExecutor {
 
     protected boolean podLogOutputIsFinished = false;
 
-    /*
-     * SHELL result string
-     */
-    protected String taskResultString;
-
     /**
      * taskRequest
      */
@@ -370,7 +365,6 @@ public abstract class AbstractCommandExecutor {
                         varPool.append("$VarPool$");
                     } else {
                         logBuffer.add(line);
-                        taskResultString = line;
                     }
                 }
                 processLogOutputIsSuccess = true;

Reply via email to