diff options
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 != "" { |
