[ Agent ] [ Executor ] - 初步完成Executor部分的代码

This commit is contained in:
zeaslity
2023-10-17 16:17:12 +08:00
parent db58a7a6f6
commit 0e8f633166
5 changed files with 250 additions and 46 deletions

View File

@@ -127,7 +127,7 @@ func handleInitMsgFromServer(initFromServerQueue *rabbitmq.RabbitQueue, initToSe
serverName := serverInfo.ServerName
// 处理OM信息
if initOctopusMsg != nil && strings.HasPrefix(initOctopusMsg.Type, g.InitOmType) && strings.HasPrefix(serverName, agentServerInfo.ServerName) {
if initOctopusMsg != nil && strings.HasPrefix(initOctopusMsg.OctopusMessageType, g.InitOmType) && strings.HasPrefix(serverName, agentServerInfo.ServerName) {
// 是本机的注册回复信息
log.InfoF("OctopusMessage INIT from server is this agent !")