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

Fixes #cleanup

Signed-off-by: Walter Poupore <walterp@tailscale.com>
pull/12284/head
Walter Poupore 4 months ago committed by GitHub
parent dd77111462
commit 0acb61fbf8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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. // or any of the foreground configs.
func (v ServeConfigView) HasFunnelForTarget(target HostPort) bool { func (v ServeConfigView) HasFunnelForTarget(target HostPort) bool {
if v.AllowFunnel().Get(target) { if v.AllowFunnel().Get(target) {

@ -106,7 +106,7 @@ type Server struct {
// AuthKey, if non-empty, is the auth key to create the node // AuthKey, if non-empty, is the auth key to create the node
// and will be preferred over the TS_AUTHKEY environment // and will be preferred over the TS_AUTHKEY environment
// variable. If the node is already created (from state // 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. // used.
AuthKey string AuthKey string

Loading…
Cancel
Save