drop names and descriptions from GroupCompact and NameserverGroupRaw

Signed-off-by: Dmitri Dolguikh <dmitri.external@netbird.io>
This commit is contained in:
Dmitri Dolguikh
2026-07-20 16:26:30 +02:00
parent ab565a3d3b
commit d93ae8c889
5 changed files with 200 additions and 244 deletions
-3
View File
@@ -104,7 +104,6 @@ func DecodeEnvelope(env *proto.NetworkMapEnvelope) (*types.NetworkMapComponents,
c.Groups[groupID] = &types.Group{
ID: groupID,
PublicID: gc.Id,
Name: gc.Name,
Peers: peerIDs,
}
}
@@ -402,8 +401,6 @@ func decodeNameServerGroupRaw(nsg *proto.NameServerGroupRaw) *nbdns.NameServerGr
out := &nbdns.NameServerGroup{
ID: nsg.Id,
PublicID: nsg.Id,
Name: nsg.Name,
Description: nsg.Description,
Groups: nsg.GroupIds,
Primary: nsg.Primary,
Domains: nsg.Domains,