diff options
| author | Nick Khyl <nickk@tailscale.com> | 2024-07-19 15:29:25 -0500 |
|---|---|---|
| committer | Nick Khyl <1761190+nickkhyl@users.noreply.github.com> | 2024-07-22 15:10:31 -0500 |
| commit | 5d09649b0b68ed89a313e540c777f1466dfabb86 (patch) | |
| tree | 67417a3df73fab45f0b606a327f693d698acc0e4 /control/controlknobs | |
| parent | d500a92926a236705abf6a0aac1fe4e11f0b71d3 (diff) | |
| download | tailscale-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
