serve.go, tsnet.go: Fix "in in" typo (#12279)

Fixes #cleanup

Signed-off-by: Walter Poupore <walterp@tailscale.com>
This commit is contained in:
Walter Poupore 2024-05-29 14:11:00 -07:00 committed by GitHub
parent dd77111462
commit 0acb61fbf8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -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) {

View File

@ -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