From cff53feaeb44e38584fe7856e3612dc620ce20e7 Mon Sep 17 00:00:00 2001 From: Rick Cheng Date: Thu, 6 Jul 2023 17:31:33 +0800 Subject: [PATCH] [Improvement-14464][Task] Remove the useless taskResultString (#14465) --- .../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;