Browse Source

[Improvement-14464][Task] Remove the useless taskResultString (#14465)

3.2.1-prepare
Rick Cheng 1 year ago committed by GitHub
parent
commit
cff53feaeb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      dolphinscheduler-task-plugin/dolphinscheduler-task-api/src/main/java/org/apache/dolphinscheduler/plugin/task/api/AbstractCommandExecutor.java

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

Loading…
Cancel
Save