Files
tailscale/envknob
Jeremy Schoemaker d486755fb9 envknob: make Setenv update RegisterInt knobs
Setenv refreshes the cached values behind RegisterString, RegisterBool,
RegisterOptBool and RegisterDuration, but had no case for RegisterInt.
An int knob kept its old value after Setenv, even though RegisterInt's
doc says mutations happen via Setenv.

Add the missing case and a test.

Fixes #21530

Change-Id: I3213c68a22619c0dd334b00f6eaa1e260ee20827
Signed-off-by: Jeremy Schoemaker <[email protected]>
2026-11-27 21:30:54 -08:00
..