Merge branch 'NET-1613' of https://github.com/gravitl/netmaker into NET-1615-ext

This commit is contained in:
abhishek9686
2024-10-18 12:02:23 +04:00

View File

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