From 0acb61fbf835857d5c7a9ec594a1b3c5bf7cacd5 Mon Sep 17 00:00:00 2001 From: Walter Poupore Date: Wed, 29 May 2024 14:11:00 -0700 Subject: [PATCH] serve.go, tsnet.go: Fix "in in" typo (#12279) Fixes #cleanup Signed-off-by: Walter Poupore --- ipn/serve.go | 2 +- tsnet/tsnet.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ipn/serve.go b/ipn/serve.go index b6e085b0c..3a5abf0e5 100644 --- a/ipn/serve.go +++ b/ipn/serve.go @@ -626,7 +626,7 @@ func (v ServeConfigView) HasAllowFunnel() bool { }() } -// FindFunnel reports whether target exists in in either the background AllowFunnel +// FindFunnel reports whether target exists in either the background AllowFunnel // or any of the foreground configs. func (v ServeConfigView) HasFunnelForTarget(target HostPort) bool { if v.AllowFunnel().Get(target) { diff --git a/tsnet/tsnet.go b/tsnet/tsnet.go index aca313a13..a200ecbec 100644 --- a/tsnet/tsnet.go +++ b/tsnet/tsnet.go @@ -106,7 +106,7 @@ type Server struct { // AuthKey, if non-empty, is the auth key to create the node // and will be preferred over the TS_AUTHKEY environment // variable. If the node is already created (from state - // previously stored in in Store), then this field is not + // previously stored in Store), then this field is not // used. AuthKey string