diff options
| author | Brad Fitzpatrick <bradfitz@tailscale.com> | 2023-09-11 12:03:39 -0700 |
|---|---|---|
| committer | Brad Fitzpatrick <brad@danga.com> | 2023-09-11 12:44:03 -0700 |
| commit | 4e91cf20a854d19b4c3602a54297fcd23e88e351 (patch) | |
| tree | 1432d0ac424f6ab6a0f2880e1de784372194e03a /control/controlknobs/controlknobs_test.go | |
| parent | d050700a3bfade74d00b559d07b7656d0fa4adf7 (diff) | |
| download | tailscale-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
