all: fix typos where we repeat repeat ourselves

Found with the regex `\b([A-Za-z]+) \1\b`.

Updates #cleanup

Change-Id: I4cc51784d9b6437d3d0c66b531828707f87f7fd5
Signed-off-by: Alex Chan <alexc@tailscale.com>
This commit is contained in:
Alex Chan
2026-07-03 16:09:03 +01:00
committed by Alex Chan
parent 72c22667b8
commit b838d5caf7
15 changed files with 15 additions and 16 deletions
+1 -1
View File
@@ -784,7 +784,7 @@ func (b *LocalBackend) onHomeDERPUpdate(du magicsock.HomeDERPChanged) {
// In practice, it is possible that one profile with a homeDERP of 0 (no-derp)
// got switched before setting any home DERP or that DERP IDs match across
// DERP maps. Since the risk of this happening is small and the consequences
// of this is is just a possible less optimal DERP until the next reSTUN,
// of this is just a possible less optimal DERP until the next reSTUN,
// accept this possibility.
func (b *LocalBackend) onHomeDERPUpdateLocked(du magicsock.HomeDERPChanged) {
cn := b.currentNode()
+1 -1
View File
@@ -8301,7 +8301,7 @@ func TestDisplayMessageIPNBus(t *testing.T) {
if ok {
if diff := cmp.Diff(tt.wantWarning, got, cmpopts.IgnoreFields(health.UnhealthyState{}, "ETag")); diff != "" {
t.Errorf("unexpected warning details (-want/+got):\n%s", diff)
return true // we failed the test so tell the watcher we've seen what we need to to stop it waiting
return true // we failed the test so tell the watcher we've seen what we need to stop it waiting
}
} else {
got := slices.Collect(maps.Keys(n.Health.Warnings))