diff options
| author | Brad Fitzpatrick <bradfitz@tailscale.com> | 2023-09-17 07:20:50 -0500 |
|---|---|---|
| committer | Brad Fitzpatrick <brad@danga.com> | 2023-09-17 15:38:54 +0100 |
| commit | 760b945bc0ef87a49d3361da3e9e7c4e1036d490 (patch) | |
| tree | 240eb68d43992b2272f81925eeee22fe80f6dbe5 /control/controlknobs/controlknobs.go | |
| parent | 8ab46952d46dbbc2ced9ab43705aad1ec3a0eb13 (diff) | |
| download | tailscale-760b945bc0ef87a49d3361da3e9e7c4e1036d490.tar.xz tailscale-760b945bc0ef87a49d3361da3e9e7c4e1036d490.zip | |
ipn/{ipnlocal,ipnstate}: start simplifying UpdateStatus/StatusBuilder
* Remove unnecessary mutexes (there's no concurrency)
* Simplify LocalBackend.UpdateStatus using the StatusBuilder.WantPeers
field that was added in 0f604923d345ff, removing passing around some
method values into func args. And then merge two methods.
More remains, but this is a start.
Updates #9433
Change-Id: Iaf2d7ec6e4e590799f00bae185465a4fd089b822
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
Diffstat (limited to 'control/controlknobs/controlknobs.go')
0 files changed, 0 insertions, 0 deletions
