summaryrefslogtreecommitdiffhomepage
path: root/control/controlhttp/controlhttpserver/controlhttpserver.go
diff options
context:
space:
mode:
authorNick Khyl <nickk@tailscale.com>2025-06-13 18:08:22 -0500
committerNick Khyl <1761190+nickkhyl@users.noreply.github.com>2025-06-16 11:46:28 -0500
commit866614202c96fa1e5116116acf50834ee787ed6c (patch)
tree0b2596b1d6f77a7fab42dd9743b7757fa3eae957 /control/controlhttp/controlhttpserver/controlhttpserver.go
parent5b7cf7fc3681d11aaddaa9a163ed72502405c83a (diff)
downloadtailscale-866614202c96fa1e5116116acf50834ee787ed6c.tar.xz
tailscale-866614202c96fa1e5116116acf50834ee787ed6c.zip
util/eventbus: remove redundant code from eventbus.Publish
eventbus.Publish() calls newPublisher(), which in turn invokes (*Client).addPublisher(). That method adds the new publisher to c.pub, so we don’t need to add it again in eventbus.Publish. Updates #cleanup Signed-off-by: Nick Khyl <nickk@tailscale.com>
Diffstat (limited to 'control/controlhttp/controlhttpserver/controlhttpserver.go')
0 files changed, 0 insertions, 0 deletions