fix: Filter out wildcard agent (*) from the nodes list in SandboxNodeBindingPanel.
This commit is contained in:
parent
c366e96e5d
commit
3b818314db
@ -1149,6 +1149,9 @@ func agentListNodesHandler(registry *agentserver.Registry) gin.HandlerFunc {
|
||||
agents := registry.Agents()
|
||||
nodes := make([]api.VlessNode, 0, len(agents))
|
||||
for _, agent := range agents {
|
||||
if agent.ID == "*" {
|
||||
continue
|
||||
}
|
||||
nodes = append(nodes, api.VlessNode{
|
||||
Name: agent.Name,
|
||||
Address: agent.ID,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user