From e652e8993f934cf24c7338e093418ae8bf2c545e Mon Sep 17 00:00:00 2001 From: SAY-5 Date: Wed, 22 Apr 2026 02:30:33 -0700 Subject: [PATCH] chore: typo sweep (seperate, publically, nonexistant, succesful) - contributing/ai.md: AI is a tool, not a "seperate" -> "separate" contributor - scheduler/generic_sched_test.go: "seperate" -> "separate" clients in comment - nomad/keyring_endpoint.go: OIDC Discovery "publically" -> "publicly" available - client/allocrunner/taskrunner/getter/util_linux.go: "nonexistant" -> "nonexistent" path - command/monitor_test.go: deployment was "succesful" -> "successful" No functional change. --- client/allocrunner/taskrunner/getter/util_linux.go | 2 +- command/monitor_test.go | 2 +- contributing/ai.md | 2 +- nomad/keyring_endpoint.go | 2 +- scheduler/generic_sched_test.go | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/client/allocrunner/taskrunner/getter/util_linux.go b/client/allocrunner/taskrunner/getter/util_linux.go index a5857c9c6d1..8bfd5ffb5b7 100644 --- a/client/allocrunner/taskrunner/getter/util_linux.go +++ b/client/allocrunner/taskrunner/getter/util_linux.go @@ -47,7 +47,7 @@ func findHomeDir() string { // findConfigDir returns the config directory as provided by os.UserConfigDir. In // case os.UserConfigDir returns an error, the path is built if possible. Otherwise -// a nonexistant path is returned. +// a nonexistent path is returned. func findConfigDir() string { config, err := os.UserConfigDir() if err == nil { diff --git a/command/monitor_test.go b/command/monitor_test.go index 9e209c41ff5..53d7859dedc 100644 --- a/command/monitor_test.go +++ b/command/monitor_test.go @@ -323,7 +323,7 @@ func TestMonitor_MonitorBlockedEval(t *testing.T) { t.Fatalf("eval monitor took too long") } - // Verify status code is 0 since deployment was succesful. + // Verify status code is 0 since deployment was successful. must.Zero(t, code) } diff --git a/contributing/ai.md b/contributing/ai.md index 5064ab95b82..72cf848f438 100644 --- a/contributing/ai.md +++ b/contributing/ai.md @@ -19,7 +19,7 @@ in your Pull Request description. ### Accountability Understanding that AI usage can range along a spectrum from AI assistance to AI led approaches we strongly prefer an approach that leaves the contributor in the -drivers seat. AI is a tool, not a seperate contributor. The responsibility for +drivers seat. AI is a tool, not a separate contributor. The responsibility for changes submitted lies entirely with you, the human opening the PR. - Human ownership: All PRs must be submitted by a real, human-owned account. We diff --git a/nomad/keyring_endpoint.go b/nomad/keyring_endpoint.go index e9317332628..fc48858f9a9 100644 --- a/nomad/keyring_endpoint.go +++ b/nomad/keyring_endpoint.go @@ -435,7 +435,7 @@ func (k *Keyring) ListPublic(args *structs.GenericRequest, reply *structs.Keyrin // GetConfig for workload identities. This RPC is used to back an OIDC // Discovery endpoint. // -// Unauthenticated because OIDC Discovery endpoints must be publically +// Unauthenticated because OIDC Discovery endpoints must be publicly // available. func (k *Keyring) GetConfig(args *structs.GenericRequest, reply *structs.KeyringGetConfigResponse) error { diff --git a/scheduler/generic_sched_test.go b/scheduler/generic_sched_test.go index ff008e91258..5deab9d8ed8 100644 --- a/scheduler/generic_sched_test.go +++ b/scheduler/generic_sched_test.go @@ -7558,7 +7558,7 @@ func TestServiceSched_CSIVolumesPerAlloc(t *testing.T) { must.NoError(t, err) must.Len(t, 5, out, must.Sprint("expected 5 placed allocations total")) - // Make sure they're still all on seperate clients + // Make sure they're still all on separate clients seen = map[string]struct{}{} for _, alloc := range out { _, ok := seen[alloc.NodeID]