change default tag format

This commit is contained in:
Yuzuki616 2023-09-18 02:16:17 +08:00
parent 088fb8f848
commit b85a78209a

View File

@ -116,5 +116,5 @@ func (c *Controller) Close() error {
}
func (c *Controller) buildNodeTag(node *panel.NodeInfo) string {
return fmt.Sprintf("%s-%s-%d", c.apiClient.APIHost, node.Type, node.Id)
return fmt.Sprintf("[%s]-%s:%d", c.apiClient.APIHost, node.Type, node.Id)
}