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
@@ -209,7 +209,6 @@ func (e *componentEncoder) encodeGroups() []*proto.GroupCompact {
}
out = append(out, &proto.GroupCompact{
Id: g.PublicID,
Name: g.Name,
PeerIndexes: peerIdxs,
})
}
@@ -454,8 +453,6 @@ func (e *componentEncoder) encodeNameServerGroups(nsgs []*nbdns.NameServerGroup)
}
entry := &proto.NameServerGroupRaw{
Id: nsg.PublicID,
Name: nsg.Name,
Description: nsg.Description,
Nameservers: encodeNameServers(nsg.NameServers),
GroupIds: e.groupPublicXids(nsg.Groups),
Primary: nsg.Primary,