summaryrefslogtreecommitdiffhomepage
path: root/control/controlknobs
diff options
context:
space:
mode:
authorJoe Tsai <joetsai@digital-static.net>2024-04-30 14:27:58 -0700
committerGitHub <noreply@github.com>2024-04-30 14:27:58 -0700
commit5db80cf2d8f2008d8d77e2976511e0ceefc6e2b5 (patch)
treef185105a7901d617060cabff3150b7f9520d506d /control/controlknobs
parent44aa809cb01215c12c9464716902e7910655962f (diff)
downloadtailscale-5db80cf2d8f2008d8d77e2976511e0ceefc6e2b5.tar.xz
tailscale-5db80cf2d8f2008d8d77e2976511e0ceefc6e2b5.zip
syncs: fix AtomicValue for interface kinds (#11943)
If AtomicValue[T] is used with a T that is an interface kind, then Store may panic if different concret types are ever stored. Fix this by always wrapping in a concrete type. Technically, this is only needed if T is an interface kind, but there is no harm in doing it also for non-interface kinds. Updates #cleanup Signed-off-by: Joe Tsai <joetsai@digital-static.net>
Diffstat (limited to 'control/controlknobs')
0 files changed, 0 insertions, 0 deletions