mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-05 16:57:51 +08:00
Merge branch 'NET-1613' of https://github.com/gravitl/netmaker into NET-1615-ext
This commit is contained in:
@@ -792,10 +792,13 @@ func AddStaticNodesWithTag(tag models.Tag, nMap map[string]models.Node) map[stri
|
|||||||
if extclient.RemoteAccessClientID != "" {
|
if extclient.RemoteAccessClientID != "" {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
nMap[extclient.ClientID] = models.Node{
|
if _, ok := extclient.Tags[tag.ID]; ok {
|
||||||
IsStatic: true,
|
nMap[extclient.ClientID] = models.Node{
|
||||||
StaticNode: extclient,
|
IsStatic: true,
|
||||||
|
StaticNode: extclient,
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
return nMap
|
return nMap
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user