Merge pull request #1543 from rhatdan/codespell

Run codespell on code
This commit is contained in:
Daniel J Walsh 2022-01-21 15:29:35 -05:00 committed by GitHub
commit 4b79ed7d7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 2 deletions

View File

@ -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 <target>"
@echo

View File

@ -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"`
}

View File

@ -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"`
}