Skip to content

Commit 23258f1

Browse files
authored
Merge pull request kubernetes#131511 from pohly/dep-misspell
dependencies: github.com/client9/misspell -> github.com/golangci/misspell
2 parents 1f056f8 + 8bb7b05 commit 23258f1

File tree

6 files changed

+5
-7
lines changed

6 files changed

+5
-7
lines changed

hack/tools/go.mod

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ godebug default=go1.24
77
require (
88
github.com/aojea/sloppy-netparser v0.0.0-20210819225411-1b3bd8b3b975
99
github.com/cespare/prettybench v0.0.0-20150116022406-03b8cfe5406c
10-
github.com/client9/misspell v0.3.4
1110
github.com/golangci/golangci-lint v1.64.5
11+
github.com/golangci/misspell v0.6.0
1212
github.com/jcchavezs/porto v0.6.0
1313
github.com/vektra/mockery/v2 v2.53.3
1414
go.uber.org/automaxprocs v1.6.0
@@ -86,7 +86,6 @@ require (
8686
github.com/golangci/dupl v0.0.0-20180902072040-3e9179ac440a // indirect
8787
github.com/golangci/go-printf-func-name v0.1.0 // indirect
8888
github.com/golangci/gofmt v0.0.0-20250106114630-d62b90e6713d // indirect
89-
github.com/golangci/misspell v0.6.0 // indirect
9089
github.com/golangci/plugin-module-register v0.1.1 // indirect
9190
github.com/golangci/revgrep v0.8.0 // indirect
9291
github.com/golangci/unconvert v0.0.0-20240309020433-c5143eacb3ed // indirect

hack/tools/go.sum

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5P
128128
github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU=
129129
github.com/ckaznocha/intrange v0.3.0 h1:VqnxtK32pxgkhJgYQEeOArVidIPg+ahLP7WBOXZd5ZY=
130130
github.com/ckaznocha/intrange v0.3.0/go.mod h1:+I/o2d2A1FBHgGELbGxzIcyd3/9l9DuwjM8FsbSS3Lo=
131-
github.com/client9/misspell v0.3.4 h1:ta993UF76GwbvJcIo3Y68y/M3WxlpEHPWIGDkJYwzJI=
132131
github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw=
133132
github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc=
134133
github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc=

hack/tools/tools.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ package tools
2121
import (
2222
// linting tools
2323
_ "github.com/aojea/sloppy-netparser"
24-
_ "github.com/client9/misspell/cmd/misspell"
2524
_ "github.com/golangci/golangci-lint/cmd/golangci-lint"
25+
_ "github.com/golangci/misspell"
2626
_ "github.com/jcchavezs/porto/cmd/porto"
2727
_ "honnef.co/go/tools/cmd/staticcheck"
2828
_ "sigs.k8s.io/logtools/logcheck"

hack/verify-spelling.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export GOBIN="${KUBE_OUTPUT_BIN}"
3232
PATH="${GOBIN}:${PATH}"
3333

3434
# Install tools we need
35-
GOTOOLCHAIN="$(kube::golang::hack_tools_gotoolchain)" go -C "${KUBE_ROOT}/hack/tools" install github.com/client9/misspell/cmd/misspell
35+
GOTOOLCHAIN="$(kube::golang::hack_tools_gotoolchain)" go -C "${KUBE_ROOT}/hack/tools" install github.com/golangci/misspell/cmd/misspell
3636

3737
# Spell checking
3838
# All the skipping files are defined in hack/.spelling_failures

pkg/kubelet/userns/userns_manager_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ type testUserNsPodsManager struct {
5858

5959
func (m *testUserNsPodsManager) GetPodDir(podUID types.UID) string {
6060
if m.podDir == "" {
61-
return "/tmp/non-existant-dir.This-is-not-used-in-tests"
61+
return "/tmp/non-existent-dir.This-is-not-used-in-tests"
6262
}
6363
return m.podDir
6464
}

test/e2e/windows/eviction.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ var _ = sigDescribe(feature.Windows, "Eviction", framework.WithSerial(), framewo
9393
podList, err := f.ClientSet.CoreV1().Pods(ns.Name).List(ctx, metav1.ListOptions{})
9494
framework.ExpectNoError(err)
9595
for _, pod := range podList.Items {
96-
framework.Logf(" Deleteing pod %s", pod.Name)
96+
framework.Logf(" Deleting pod %s", pod.Name)
9797
err = f.ClientSet.CoreV1().Pods(ns.Name).Delete(ctx, pod.Name, metav1.DeleteOptions{})
9898
framework.ExpectNoError(err)
9999
}

0 commit comments

Comments
 (0)