Revert "ipn/ipnstate: add home DERP to tailscale status JSON"

This reverts commit 476a4c6ff1.

Reason: redundant with `tailscale status --json | jq '.Self.Relay'`
which we all forgot about. Whoops.

Updates #15625
This commit is contained in:
Brad Fitzpatrick
2025-04-10 11:26:57 -07:00
committed by Brad Fitzpatrick
parent d446e04635
commit 6c914409cd
2 changed files with 4 additions and 11 deletions

View File

@@ -2892,15 +2892,11 @@ func (c *Conn) UpdateStatus(sb *ipnstate.StatusBuilder) {
})
}
sb.MutateStatus(func(s *ipnstate.Status) {
s.DERPHomeRegionID = c.myDerp
c.foreachActiveDerpSortedLocked(func(node int, ad activeDerp) {
// TODO(bradfitz): add a method to ipnstate.StatusBuilder
// to include all the DERP connections we have open
// and add it here. See the other caller of foreachActiveDerpSortedLocked.
})
c.foreachActiveDerpSortedLocked(func(node int, ad activeDerp) {
// TODO(bradfitz): add a method to ipnstate.StatusBuilder
// to include all the DERP connections we have open
// and add it here. See the other caller of foreachActiveDerpSortedLocked.
})
}
// SetStatistics specifies a per-connection statistics aggregator.