[ Server ] [ Status ] - refresh status part

This commit is contained in:
zeaslity
2023-12-22 16:22:20 +08:00
parent 53f4f526cf
commit 1f8c174009
25 changed files with 538 additions and 259 deletions

View File

@@ -177,7 +177,7 @@ func statusOMHandler(octopusMessage *OctopusMessage) {
agentStatusString, _ := json.Marshal(status.ReportAgentMetric())
statusRes = string(agentStatusString)
} else if strings.HasPrefix(statusMessage.StatusType, "INFO") {
log.InfoF("[statusOMHandler] - call for agent info !")
} else {
log.WarnF("[statusOMHandler] - error octopus status message type of %s", statusMessage.StatusType)
}