[ Executor ] modify base function part - 1

This commit is contained in:
zeaslity
2023-06-28 16:33:06 +08:00
parent 44ce0959d9
commit 1ea59110ca
4 changed files with 41 additions and 6 deletions

View File

@@ -95,7 +95,7 @@ func (op *AgentOsOperator) Exec(baseFuncName string, funcArgs ...string) []strin
// exec the command here
for _, singleLineCommand := range multiLineCommand {
result = append(result, ReadTimeCommandExecutor(singleLineCommand)...)
result = append(result, AllOutputCommandExecutor(singleLineCommand)...)
// debug usage
log.DebugF("exec result are => %v", result)