control/controlclient: remove Roles fields from client

They are unused.

Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
This commit is contained in:
Josh Bleecher Snyder
2020-09-28 14:49:01 -07:00
committed by Josh Bleecher Snyder
parent c493e5804f
commit 4d4ca2e496
3 changed files with 0 additions and 4 deletions

View File

@@ -656,7 +656,6 @@ func (c *Direct) PollNetMap(ctx context.Context, maxPolls int, cb func(*NetworkM
User: resp.Node.User,
UserProfiles: make(map[tailcfg.UserID]tailcfg.UserProfile),
Domain: resp.Domain,
Roles: resp.Roles,
DNS: resp.DNSConfig,
Hostinfo: resp.Node.Hostinfo,
PacketFilter: c.parsePacketFilter(resp.PacketFilter),