fix tag update on extclients

This commit is contained in:
abhishek9686
2024-10-18 12:00:11 +04:00
parent ffd9348234
commit 298749b76c

View File

@@ -778,11 +778,14 @@ func AddStaticNodesWithTag(tag models.Tag, nMap map[string]models.Node) map[stri
if extclient.RemoteAccessClientID != "" { if extclient.RemoteAccessClientID != "" {
continue continue
} }
if _, ok := extclient.Tags[tag.ID]; ok {
nMap[extclient.ClientID] = models.Node{ nMap[extclient.ClientID] = models.Node{
IsStatic: true, IsStatic: true,
StaticNode: extclient, StaticNode: extclient,
} }
} }
}
return nMap return nMap
} }