[agent-go] 初步完成Executor部分的代码- 1

This commit is contained in:
zeaslity
2023-03-24 15:46:00 +08:00
parent 1af25d3992
commit 7e2450d30a
12 changed files with 60 additions and 41 deletions

View File

@@ -1,8 +1,8 @@
package executor
import (
"agent-go/config"
"agent-go/g"
"agent-go/rabbitmq"
"bufio"
"bytes"
"fmt"
@@ -11,7 +11,7 @@ import (
var log = g.G.LOG
func Execute(om *rabbitmq.OctopusMessage, em *rabbitmq.ExecutionMessage) ([]string, error) {
func Execute(om *config.OctopusMessage, em *config.ExecutionMessage) ([]string, error) {
var resultLog []string
var err error