mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-06 01:07:41 +08:00
fix tag update on extclients
This commit is contained in:
@@ -778,11 +778,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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user