[Agent] [Executor] 优化Functional Executor
This commit is contained in:
@@ -163,7 +163,7 @@ func (op *AgentOsOperator) Command(baseFuncName string, funcArgs ...string) []st
|
||||
|
||||
// exec the command here
|
||||
for _, singleLineCommand := range multiLineCommand {
|
||||
singleCommandResult, _ := AllOutputCommandExecutor(singleLineCommand)
|
||||
singleCommandResult, _ := FormatAllCommandExecutor(singleLineCommand)
|
||||
|
||||
result = append(result, "")
|
||||
result = append(result, singleCommandResult...)
|
||||
@@ -203,6 +203,8 @@ func (op *AgentOsOperator) shutdownFirewall() [][]string {
|
||||
|
||||
func (op *AgentOsOperator) shutdownFirewallExec() (bool, []string) {
|
||||
|
||||
// quick sort
|
||||
|
||||
return false, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user