From 78e7e89be690f4854fb75d41e8d2fb39b42d626b Mon Sep 17 00:00:00 2001 From: Naman Sood Date: Thu, 30 Jul 2026 14:16:53 -0400 Subject: [PATCH] ipn/ipnlocal: fix comment typo This function used to have the suffix LockedOnEntry, but no longer has that since #17804. Updates #cleanup Signed-off-by: Naman Sood --- ipn/ipnlocal/profiles.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ipn/ipnlocal/profiles.go b/ipn/ipnlocal/profiles.go index 5619f0639..17fa61504 100644 --- a/ipn/ipnlocal/profiles.go +++ b/ipn/ipnlocal/profiles.go @@ -194,7 +194,7 @@ func (pm *profileManager) SwitchToProfile(profile ipn.LoginProfileView) (cp ipn. f(pm.currentProfile, pm.prefs, false) } // Do not call pm.extHost.NotifyProfileChange here; it is invoked in - // [LocalBackend.resetForProfileChangeLockedOnEntry] after the netmap reset. + // [LocalBackend.resetForProfileChangeLocked] after the netmap reset. // TODO(nickkhyl): Consider moving it here (or into the stateChangeCb handler // in [LocalBackend]) once the profile/node state, including the netmap, // is actually tied to the current profile. @@ -381,7 +381,7 @@ func (pm *profileManager) SetPrefs(prefsIn ipn.PrefsView, np ipn.NetworkProfile) // WantRunning and possibly other fields. This may not be the desired behavior. // // Additionally, LocalBackend doesn't treat it as a proper profile switch, meaning that - // [LocalBackend.resetForProfileChangeLockedOnEntry] is not called and certain + // [LocalBackend.resetForProfileChangeLocked] is not called and certain // node/profile-specific state may not be reset as expected. // // However, [profileManager] notifies [ipnext.Extension]s about the profile change,