summaryrefslogtreecommitdiffhomepage
path: root/control/controlknobs
diff options
context:
space:
mode:
authorNick Khyl <nickk@tailscale.com>2024-07-19 15:29:25 -0500
committerNick Khyl <1761190+nickkhyl@users.noreply.github.com>2024-07-22 15:10:31 -0500
commit5d09649b0b68ed89a313e540c777f1466dfabb86 (patch)
tree67417a3df73fab45f0b606a327f693d698acc0e4 /control/controlknobs
parentd500a92926a236705abf6a0aac1fe4e11f0b71d3 (diff)
downloadtailscale-5d09649b0b68ed89a313e540c777f1466dfabb86.tar.xz
tailscale-5d09649b0b68ed89a313e540c777f1466dfabb86.zip
types/lazy: add (*SyncValue[T]).SetForTest method
It is sometimes necessary to change a global lazy.SyncValue for the duration of a test. This PR adds a (*SyncValue[T]).SetForTest method to facilitate that. Updates #12687 Signed-off-by: Nick Khyl <nickk@tailscale.com>
Diffstat (limited to 'control/controlknobs')
0 files changed, 0 insertions, 0 deletions