diff options
| author | Fran Bull <fran@tailscale.com> | 2024-09-25 09:00:38 -0700 |
|---|---|---|
| committer | Fran Bull <fran@tailscale.com> | 2024-09-25 09:00:38 -0700 |
| commit | 28a0c21d8b1d0efd25fe6eca62dbe7210d646dec (patch) | |
| tree | ae58b4647ea91795f147551ac9320c353a6b3147 /control | |
| parent | 781fd03f27cef976ebe6256d449aebc5a8fffc9a (diff) | |
| download | tailscale-fran/natc-consensus-prototype.tar.xz tailscale-fran/natc-consensus-prototype.zip | |
remove clusterPeers and use peers and tags to find peersfran/natc-consensus-prototype
Diffstat (limited to 'control')
| -rw-r--r-- | control/controlclient/map.go | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/control/controlclient/map.go b/control/controlclient/map.go index e3a6dce7c..787912222 100644 --- a/control/controlclient/map.go +++ b/control/controlclient/map.go @@ -92,8 +92,6 @@ type mapSession struct { lastTKAInfo *tailcfg.TKAInfo lastNetmapSummary string // from NetworkMap.VeryConcise lastMaxExpiry time.Duration - - clusterPeers tailcfg.ClusterInfo } // newMapSession returns a mostly unconfigured new mapSession. @@ -350,8 +348,6 @@ func (ms *mapSession) updateStateFromResponse(resp *tailcfg.MapResponse) { if resp.MaxKeyDuration > 0 { ms.lastMaxExpiry = resp.MaxKeyDuration } - //TODO delta stuff - ms.clusterPeers = resp.ClusterPeers } var ( @@ -808,7 +804,6 @@ func (ms *mapSession) netmap() *netmap.NetworkMap { ControlHealth: ms.lastHealth, TKAEnabled: ms.lastTKAInfo != nil && !ms.lastTKAInfo.Disabled, MaxKeyDuration: ms.lastMaxExpiry, - ClusterPeers: ms.clusterPeers, } if ms.lastTKAInfo != nil && ms.lastTKAInfo.Head != "" { |
