[ Agent ] [ Executor ] - fix bugs

This commit is contained in:
zeaslity
2023-10-24 11:41:46 +08:00
parent 4afb62f7cf
commit 1224dd8def
3 changed files with 17 additions and 4 deletions

View File

@@ -42,6 +42,7 @@ type OctopusMessage struct {
func (om *OctopusMessage) Handle() {
// 实际执行 OM handle进程
log.Debug("接收到OctopusMessage,开始处理!")
doHandleOctopusMessage(om)
}
@@ -116,6 +117,7 @@ func agentOMHandler(octopusMessage *OctopusMessage) {
}
func executorOMHandler(octopusMessage *OctopusMessage) {
log.Debug("开始处理 Executor Octopus Message !")
// 转换类型
executionMsgString := octopusMessage.Content.(string)