diff options
| author | Claus Lensbøl <claus@tailscale.com> | 2026-04-08 09:01:07 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-08 09:01:07 -0400 |
| commit | 9e68841939170ae132935e26e5e200066b1f62c3 (patch) | |
| tree | 2dfcd68da99d8b94d5111e89f527d26746c009fa /control/controlhttp/controlhttpserver/controlhttpserver.go | |
| parent | 5341b26328b1cd938cbaf2804a9b9c2cbf996af8 (diff) | |
| download | tailscale-9e68841939170ae132935e26e5e200066b1f62c3.tar.xz tailscale-9e68841939170ae132935e26e5e200066b1f62c3.zip | |
control/controlclient: avoid calls to ms.netmap() (#19281)
Instead of generating the full netmap, just fetch the peers out the the
existing peers map.
The extra usage was introduced with netmap caching, but there is no need
to call the netmap to get this information, rather the existing peermap
can be used.
Updates #12639
Signed-off-by: Claus Lensbøl <claus@tailscale.com>
Diffstat (limited to 'control/controlhttp/controlhttpserver/controlhttpserver.go')
0 files changed, 0 insertions, 0 deletions
