all: don't repeat the the word "the" unnecessarily
Updates #cleanup Change-Id: Ic1f430cd5dbf6cc1a385c59074a5d5cabe6fca57 Signed-off-by: Alex Chan <alexc@tailscale.com>
This commit is contained in:
@@ -23,7 +23,7 @@ import (
|
||||
)
|
||||
|
||||
// featureName is the name of the feature implemented by this package.
|
||||
// It is also the the [desktopSessionsExt] name and the log prefix.
|
||||
// It is also the [desktopSessionsExt] name and the log prefix.
|
||||
const featureName = "desktop-sessions"
|
||||
|
||||
func init() {
|
||||
|
||||
@@ -8377,7 +8377,7 @@ func (f *fakeAttestationKey) Clone() key.HardwareAttestationKey {
|
||||
// TestStripKeysFromPrefs tests that LocalBackend's [stripKeysFromPrefs] (as used
|
||||
// by sendNotify etc) correctly removes all private keys from an ipn.Notify.
|
||||
//
|
||||
// It does so by testing the the two ways that Notifys are sent: via sendNotify,
|
||||
// It does so by testing the two ways that Notifys are sent: via sendNotify,
|
||||
// and via extension hooks.
|
||||
func TestStripKeysFromPrefs(t *testing.T) {
|
||||
// genNotify generates a sample ipn.Notify with various private keys set
|
||||
|
||||
@@ -1247,7 +1247,7 @@ func TestEngineReconfigOnStateChange(t *testing.T) {
|
||||
}{
|
||||
{
|
||||
name: "Initial",
|
||||
// The configs are nil until the the LocalBackend is started.
|
||||
// The configs are nil until the LocalBackend is started.
|
||||
wantState: ipn.NoState,
|
||||
wantCfg: nil,
|
||||
wantRouterCfg: nil,
|
||||
|
||||
@@ -66,7 +66,7 @@ func (o *options) Sys() *tsd.System {
|
||||
|
||||
// Backend returns the [ipnlocal.LocalBackend] to be used by the server.
|
||||
// If a backend is provided via [WithBackend], it is used as-is.
|
||||
// Otherwise, a new backend is created with the the [options] in o.
|
||||
// Otherwise, a new backend is created with the [options] in o.
|
||||
func (o *options) Backend() *ipnlocal.LocalBackend {
|
||||
return o.backend.Get(func() *ipnlocal.LocalBackend { return newBackend(o) })
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user