summaryrefslogtreecommitdiffhomepage
path: root/control/controlhttp/controlhttpserver/controlhttpserver.go
diff options
context:
space:
mode:
authorNick Khyl <nickk@tailscale.com>2025-04-25 14:53:48 -0500
committerNick Khyl <1761190+nickkhyl@users.noreply.github.com>2025-04-25 16:32:09 -0500
commit0cfd643d9515fcf52f3e47ca3f4559e39943495c (patch)
tree1e47e3abbe5e5e4580b2fa9af265d8b2ea1bfa55 /control/controlhttp/controlhttpserver/controlhttpserver.go
parentf468919f95717870aecfe836e00c0569b67d5015 (diff)
downloadtailscale-0cfd643d9515fcf52f3e47ca3f4559e39943495c.tar.xz
tailscale-0cfd643d9515fcf52f3e47ca3f4559e39943495c.zip
ipn/ipnlocal: update profileManager to use SwitchToProfile when switching to the initial profile
This further minimizes the number of places where the profile manager updates the current profile and prefs. We also document a scenario where an implicit profile switch can occur. We should be able to address it after (partially?) inverting the dependency between LocalBackend and profileManager, so that profileManager notifies LocalBackend of profile changes instead of the other way around. Updates tailscale/corp#28014 Updates #12614 Signed-off-by: Nick Khyl <nickk@tailscale.com>
Diffstat (limited to 'control/controlhttp/controlhttpserver/controlhttpserver.go')
0 files changed, 0 insertions, 0 deletions