control/controlclient,tailcfg:types: remove MaxKeyduration from NetMap

This reverts most of 124dc10261 (#10401).

Removing in favour of adding this in CapMaps instead (#14829).

Updates tailscale/corp#16016

Signed-off-by: James Sanderson <[email protected]>
This commit is contained in:
James Sanderson authored and James 'zofrex' Sanderson committed 2025-02-14 18:06:23 +00:00
1 parent 717fa68f3a
commit 45f29a208a
4 files changed
+1 -14

No files matched your search

-3
View File
@@ -79,9 +79,6 @@ type NetworkMap struct {
// UserProfiles contains the profile information of UserIDs referenced
// in SelfNode and Peers.
UserProfiles map[tailcfg.UserID]tailcfg.UserProfileView
// MaxKeyDuration describes the MaxKeyDuration setting for the tailnet.
MaxKeyDuration time.Duration
}
// User returns nm.SelfNode.User if nm.SelfNode is non-nil, otherwise it returns