summaryrefslogtreecommitdiffhomepage
path: root/control/controlknobs/controlknobs_test.go
diff options
context:
space:
mode:
authorBrad Fitzpatrick <bradfitz@tailscale.com>2023-09-11 12:03:39 -0700
committerBrad Fitzpatrick <brad@danga.com>2023-09-11 12:44:03 -0700
commit4e91cf20a854d19b4c3602a54297fcd23e88e351 (patch)
tree1432d0ac424f6ab6a0f2880e1de784372194e03a /control/controlknobs/controlknobs_test.go
parentd050700a3bfade74d00b559d07b7656d0fa4adf7 (diff)
downloadtailscale-4e91cf20a854d19b4c3602a54297fcd23e88e351.tar.xz
tailscale-4e91cf20a854d19b4c3602a54297fcd23e88e351.zip
control/controlknobs, all: add plumbed Knobs type, not global variables
Previously two tsnet nodes in the same process couldn't have disjoint sets of controlknob settings from control as both would overwrite each other's global variables. This plumbs a new controlknobs.Knobs type around everywhere and hangs the knobs sent by control on that instead. Updates #9351 Change-Id: I75338646d36813ed971b4ffad6f9a8b41ec91560 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
Diffstat (limited to 'control/controlknobs/controlknobs_test.go')
0 files changed, 0 insertions, 0 deletions