[Excution] - base function start - 3

This commit is contained in:
IceDerce
2023-06-25 11:31:27 +08:00
parent fb38ab8f15
commit 80198930c4
3 changed files with 11 additions and 11 deletions

View File

@@ -47,7 +47,7 @@ func INIT() *register.AgentServerInfo {
initToServerQueue.Connect()
// 组装OctopusMessage
var octopusMsg *OctopusMessage
var octopusMsg *rabbitmq.OctopusMessage
octopusMsg = octopusMsg.Build(
omType,
agentServerInfo,
@@ -103,7 +103,7 @@ func handleInitMsgFromServer(initFromServerQueue *rabbitmq.RabbitQueue, initToSe
log.Debug(fmt.Sprintf("message received from server is %s", string(delivery.Body)))
var initOctopusMsg *OctopusMessage
var initOctopusMsg *rabbitmq.OctopusMessage
err := json.Unmarshal(delivery.Body, &initOctopusMsg)
if err != nil {
log.Error(fmt.Sprintf("parse init message from server wroong, message is => %s ",