ipn/ipnlocal: use tsd.NewSystem instead of &tsd.System in a few more tests

These were likely added after everything else was updated to use tsd.NewSystem,
in a feature branch, and before it was merged back into main.

Updates #15160

Signed-off-by: Nick Khyl <nickk@tailscale.com>
This commit is contained in:
Nick Khyl
2025-04-23 09:57:59 -05:00
committed by Nick Khyl
parent c41a2d5c83
commit bd33eb7bd7
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1397,7 +1397,7 @@ func newLocalBackendWithMockEngineAndControl(t *testing.T, enableLogging bool) (
dialer := &tsdial.Dialer{Logf: logf}
dialer.SetNetMon(netmon.NewStatic())
sys := &tsd.System{}
sys := tsd.NewSystem()
sys.Set(dialer)
sys.Set(dialer.NetMon())