mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-03 02:14:24 +08:00
Merge branch 'NET-1613' of https://github.com/gravitl/netmaker into NET-1615-ext
This commit is contained in:
commit
d792e2e529
1 changed files with 6 additions and 3 deletions
|
@ -792,10 +792,13 @@ func AddStaticNodesWithTag(tag models.Tag, nMap map[string]models.Node) map[stri
|
|||
if extclient.RemoteAccessClientID != "" {
|
||||
continue
|
||||
}
|
||||
nMap[extclient.ClientID] = models.Node{
|
||||
IsStatic: true,
|
||||
StaticNode: extclient,
|
||||
if _, ok := extclient.Tags[tag.ID]; ok {
|
||||
nMap[extclient.ClientID] = models.Node{
|
||||
IsStatic: true,
|
||||
StaticNode: extclient,
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
return nMap
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue