[agent][executor]- bug
This commit is contained in:
@@ -201,7 +201,6 @@ public class CommandExecutor {
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
// 日志操作,如果需要显示回传,需要将日志发送回相应的
|
||||
collectCommandLogAndRepeat(
|
||||
streamKey,
|
||||
@@ -216,7 +215,6 @@ public class CommandExecutor {
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,6 +37,8 @@ public class CommandExecLogCache {
|
||||
*/
|
||||
public void cacheLog(String streamKey, Process process) {
|
||||
|
||||
Assert.notNull(process,"命令执行为空!");
|
||||
|
||||
ArrayList<String> commandCachedLog = new ArrayList<>(128);
|
||||
|
||||
String execCommandString = String.format(
|
||||
|
||||
Reference in New Issue
Block a user