From e7f0d9ea3362c8177b8cae02829c1589c87c4033 Mon Sep 17 00:00:00 2001 From: zeaslity Date: Mon, 29 Apr 2024 17:33:28 +0800 Subject: [PATCH] =?UTF-8?q?[agent-go]=20-=20=E6=9B=B4=E6=96=B0ServerInfo?= =?UTF-8?q?=E7=9A=84=E5=AD=97=E6=AE=B5=20-=201?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- agent-go/a_init/BastionInitializaion.go | 2 +- server-go/entity/ServerInfo.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/agent-go/a_init/BastionInitializaion.go b/agent-go/a_init/BastionInitializaion.go index 0b77ac1..46b0cfb 100644 --- a/agent-go/a_init/BastionInitializaion.go +++ b/agent-go/a_init/BastionInitializaion.go @@ -76,7 +76,7 @@ func BastionModeInit() { Comment: "", MachineID: "", AgentVersion: "", - TopicName: "BastionNode", + AgentTopicName: "BastionNode", } // build for bastion mode operator diff --git a/server-go/entity/ServerInfo.go b/server-go/entity/ServerInfo.go index 5c5635d..25f4dd6 100644 --- a/server-go/entity/ServerInfo.go +++ b/server-go/entity/ServerInfo.go @@ -8,7 +8,7 @@ type ServerInfo struct { gorm.Model ServerName string `grom:type` - TopicName string + AgentTopicName string ServerIPPublicV4 string ServerIPInnerV4 string ServerIPPublicV6 string