net/routecheck: tweak routecheck documentation and coding style

This patch is a follow-up for PR #19639 that does some cleanups.

Updates #17366
Updates tailscale/corp#33033

Signed-off-by: Simon Law <sfllaw@tailscale.com>
This commit is contained in:
Simon Law
2026-07-02 20:26:27 -07:00
committed by Simon Law
parent 52fdadbf8b
commit 7b2432abae
4 changed files with 16 additions and 7 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ var (
)
// Report returns the latest reachability report.
// Returns nil if a report isnt available, which happens during initialization.
// It returns nil if a report isnt available, which happens during initialization.
func (c *Client) Report() *Report {
metricReport.Add(1)
nm := c.nm.NetMapNoPeers()