diff --git a/Makefile b/Makefile index 28049781..7eca8784 100644 --- a/Makefile +++ b/Makefile @@ -112,6 +112,9 @@ endif # use source debugging tools like delve. all: bin/skopeo docs +codespell: + codespell -S Makefile,build,buildah,buildah.spec,imgtype,copy,AUTHORS,bin,vendor,.git,go.sum,CHANGELOG.md,changelog.txt,seccomp.json,.cirrus.yml,"*.xz,*.gz,*.tar,*.tgz,*ico,*.png,*.1,*.5,*.orig,*.rej" -L fpr,uint,iff,od,ERRO -w + help: @echo "Usage: make " @echo diff --git a/cmd/skopeo/proxy.go b/cmd/skopeo/proxy.go index 883b1d20..14c14135 100644 --- a/cmd/skopeo/proxy.go +++ b/cmd/skopeo/proxy.go @@ -104,7 +104,7 @@ const maxJSONFloat = float64(1<<53 - 1) type request struct { // Method is the name of the function Method string `json:"method"` - // Args is the arguments (parsed inside the fuction) + // Args is the arguments (parsed inside the function) Args []interface{} `json:"args"` } diff --git a/integration/proxy_test.go b/integration/proxy_test.go index f510675c..490277a8 100644 --- a/integration/proxy_test.go +++ b/integration/proxy_test.go @@ -28,7 +28,7 @@ const expectedProxySemverMajor = "0.2" type request struct { // Method is the name of the function Method string `json:"method"` - // Args is the arguments (parsed inside the fuction) + // Args is the arguments (parsed inside the function) Args []interface{} `json:"args"` }