[agent-go] - 更新ServerInfo的字段 - 1
This commit is contained in:
@@ -76,7 +76,7 @@ func BastionModeInit() {
|
|||||||
Comment: "",
|
Comment: "",
|
||||||
MachineID: "",
|
MachineID: "",
|
||||||
AgentVersion: "",
|
AgentVersion: "",
|
||||||
TopicName: "BastionNode",
|
AgentTopicName: "BastionNode",
|
||||||
}
|
}
|
||||||
|
|
||||||
// build for bastion mode operator
|
// build for bastion mode operator
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ type ServerInfo struct {
|
|||||||
gorm.Model
|
gorm.Model
|
||||||
|
|
||||||
ServerName string `grom:type`
|
ServerName string `grom:type`
|
||||||
TopicName string
|
AgentTopicName string
|
||||||
ServerIPPublicV4 string
|
ServerIPPublicV4 string
|
||||||
ServerIPInnerV4 string
|
ServerIPInnerV4 string
|
||||||
ServerIPPublicV6 string
|
ServerIPPublicV6 string
|
||||||
|
|||||||
Reference in New Issue
Block a user