[ server] [ agent ] - 版本信息控制
This commit is contained in:
@@ -19,7 +19,7 @@ public class AgentOperationInfoService {
|
||||
@Resource
|
||||
OMessageToServerSender oMessageToServerSender;
|
||||
|
||||
public void AgentOpInfo(OctopusMessage order){
|
||||
public void AgentOpInfo(OctopusMessage octopusMessage){
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -57,11 +57,15 @@ public class OMHandlerAgent extends AbstractOctopusMessageHandler {
|
||||
// update
|
||||
agentRebootUpdateService.exAgentUpdate(operationMessage);
|
||||
} else if (opType.equals(AgentOperationType.VERSION)) {
|
||||
|
||||
// 收集Agent的版本信息
|
||||
agentOperationInfoService.AgentOpVersion(octopusMessage);
|
||||
|
||||
} else if (opType.equals(AgentOperationType.INFO)) {
|
||||
|
||||
// 收集Agent的核心Info信息
|
||||
agentOperationInfoService.AgentOpInfo(octopusMessage);
|
||||
|
||||
} else {
|
||||
// operation unknown
|
||||
log.error("Command Agent Operation Unknown! ");
|
||||
|
||||
Reference in New Issue
Block a user