summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNaasir <yoursdeveloper@protonmail.com>2025-12-02 13:19:47 +0530
committerBrad Fitzpatrick <brad@danga.com>2025-12-02 07:16:38 -0800
commit77dcdc223ebcd70cd559c0d1b41625e6d897303c (patch)
treef760a0415f12f9b39395479a0ce8cdc077c9d08a
parentece6e27f39ceb11b4c51ef4bfd317cacb5203d89 (diff)
downloadtailscale-77dcdc223ebcd70cd559c0d1b41625e6d897303c.tar.xz
tailscale-77dcdc223ebcd70cd559c0d1b41625e6d897303c.zip
cleanup: fix typos across multiple files
Does not affect code. Updates #cleanup Signed-off-by: Naasir <yoursdeveloper@protonmail.com>
-rw-r--r--cmd/k8s-operator/egress-pod-readiness.go2
-rw-r--r--cmd/tailscale/cli/debug.go2
-rw-r--r--cmd/tailscale/cli/serve_legacy.go2
-rw-r--r--cmd/tailscale/cli/serve_v2_test.go2
-rw-r--r--control/controlclient/controlclient_test.go2
5 files changed, 5 insertions, 5 deletions
diff --git a/cmd/k8s-operator/egress-pod-readiness.go b/cmd/k8s-operator/egress-pod-readiness.go
index 0ed64cdb4..ebab23ed0 100644
--- a/cmd/k8s-operator/egress-pod-readiness.go
+++ b/cmd/k8s-operator/egress-pod-readiness.go
@@ -241,7 +241,7 @@ func (er *egressPodsReconciler) lookupPodRouteViaSvc(ctx context.Context, pod *c
req.Close = true
resp, err := er.httpClient.Do(req)
if err != nil {
- // This is most likely because this is the first Pod and is not yet added to service endpints. Other
+ // This is most likely because this is the first Pod and is not yet added to service endpoints. Other
// error types are possible, but checking for those would likely make the system too fragile.
return unreachable, nil
}
diff --git a/cmd/tailscale/cli/debug.go b/cmd/tailscale/cli/debug.go
index 2facd66ae..ccbfb59de 100644
--- a/cmd/tailscale/cli/debug.go
+++ b/cmd/tailscale/cli/debug.go
@@ -263,7 +263,7 @@ func debugCmd() *ffcli.Command {
fs := newFlagSet("watch-ipn")
fs.BoolVar(&watchIPNArgs.netmap, "netmap", true, "include netmap in messages")
fs.BoolVar(&watchIPNArgs.initial, "initial", false, "include initial status")
- fs.BoolVar(&watchIPNArgs.rateLimit, "rate-limit", true, "rate limit messags")
+ fs.BoolVar(&watchIPNArgs.rateLimit, "rate-limit", true, "rate limit messages")
fs.IntVar(&watchIPNArgs.count, "count", 0, "exit after printing this many statuses, or 0 to keep going forever")
return fs
})(),
diff --git a/cmd/tailscale/cli/serve_legacy.go b/cmd/tailscale/cli/serve_legacy.go
index 580393ce4..0e9b7d022 100644
--- a/cmd/tailscale/cli/serve_legacy.go
+++ b/cmd/tailscale/cli/serve_legacy.go
@@ -40,7 +40,7 @@ func init() {
var serveCmd = func() *ffcli.Command {
se := &serveEnv{lc: &localClient}
// previously used to serve legacy newFunnelCommand unless useWIPCode is true
- // change is limited to make a revert easier and full cleanup to come after the relase.
+ // change is limited to make a revert easier and full cleanup to come after the release.
// TODO(tylersmalley): cleanup and removal of newServeLegacyCommand as of 2023-10-16
return newServeV2Command(se, serve)
}
diff --git a/cmd/tailscale/cli/serve_v2_test.go b/cmd/tailscale/cli/serve_v2_test.go
index 513c0d1ec..b3ebb32a2 100644
--- a/cmd/tailscale/cli/serve_v2_test.go
+++ b/cmd/tailscale/cli/serve_v2_test.go
@@ -1765,7 +1765,7 @@ func TestIsLegacyInvocation(t *testing.T) {
}
if gotTranslation != tt.translation {
- t.Fatalf("expected translaction to be %q but got %q", tt.translation, gotTranslation)
+ t.Fatalf("expected translation to be %q but got %q", tt.translation, gotTranslation)
}
})
}
diff --git a/control/controlclient/controlclient_test.go b/control/controlclient/controlclient_test.go
index bc3011226..57d3ca7ca 100644
--- a/control/controlclient/controlclient_test.go
+++ b/control/controlclient/controlclient_test.go
@@ -196,7 +196,7 @@ func TestRetryableErrors(t *testing.T) {
{fmt.Errorf("%w: %w", errHTTPPostFailure, errors.New("bad post")), true},
{fmt.Errorf("%w: %w", errNoNodeKey, errors.New("not node key")), true},
{errBadHTTPResponse(429, "too may requests"), true},
- {errBadHTTPResponse(500, "internal server eror"), true},
+ {errBadHTTPResponse(500, "internal server error"), true},
{errBadHTTPResponse(502, "bad gateway"), true},
{errBadHTTPResponse(503, "service unavailable"), true},
{errBadHTTPResponse(504, "gateway timeout"), true},