Run codespell on code
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
parent
70d8ab9495
commit
ccac7ca0bf
2
Makefile
2
Makefile
|
|
@ -125,7 +125,7 @@ gopath:
|
|||
test $(shell pwd) = $(shell cd ../../../../src/github.com/containers/buildah ; pwd)
|
||||
|
||||
codespell:
|
||||
codespell -S Makefile,buildah.spec.rpkg,AUTHORS,bin,vendor,.git,go.mod,go.sum,CHANGELOG.md,changelog.txt,seccomp.json,.cirrus.yml,"*.xz,*.gz,*.tar,*.tgz,*ico,*.png,*.1,*.5,*.orig,*.rej" -L uint,iff,od,erro -w
|
||||
codespell -S Makefile,buildah.spec.rpkg,AUTHORS,bin,vendor,.git,go.mod,go.sum,CHANGELOG.md,changelog.txt,seccomp.json,.cirrus.yml,"*.xz,*.gz,*.tar,*.tgz,*ico,*.png,*.1,*.5,*.orig,*.rej" -L passt,bu,uint,iff,od,erro -w
|
||||
|
||||
.PHONY: validate
|
||||
validate: install.tools
|
||||
|
|
|
|||
|
|
@ -349,10 +349,10 @@ type BuilderOptions struct {
|
|||
ProcessLabel string
|
||||
// MountLabel is the SELinux mount label associated with the container
|
||||
MountLabel string
|
||||
// PreserveBaseImageAnn[otation]s indicates that we should preserve base
|
||||
// image information that was present in our base image, instead of
|
||||
// overwriting them with information about the base image itself. This
|
||||
// is mainly useful as an internal implementation detail of multistage
|
||||
// PreserveBaseImageAnns indicates that we should preserve base
|
||||
// image information (Annotations) that are present in our base image,
|
||||
// rather than overwriting them with information about the base image
|
||||
// itself. Useful as an internal implementation detail of multistage
|
||||
// builds, and does not need to be set by most callers.
|
||||
PreserveBaseImageAnns bool
|
||||
}
|
||||
|
|
|
|||
|
|
@ -136,7 +136,7 @@ __buildah_to_extglob() {
|
|||
# continue processing its completion.
|
||||
#
|
||||
# TODO if the preceding command has options that accept arguments and an
|
||||
# argument is equal ot one of the subcommands, this is falsely detected as
|
||||
# argument is equal or one of the subcommands, this is falsely detected as
|
||||
# a match.
|
||||
__buildah_subcommands() {
|
||||
local subcommands="$1"
|
||||
|
|
|
|||
|
|
@ -1496,7 +1496,7 @@ func checkIfMountDestinationPreExists(root string, dest string) (bool, error) {
|
|||
// We created exact path for globbing so it will
|
||||
// return only one result.
|
||||
if statResults[0].Error != "" && len(statResults[0].Globbed) == 0 {
|
||||
// Path do not exsits.
|
||||
// Path do not exist.
|
||||
return false, nil
|
||||
}
|
||||
// Path exists.
|
||||
|
|
|
|||
|
|
@ -5080,7 +5080,7 @@ _EOF
|
|||
assert "$output" !~ '--build-arg SECRET=<VALUE>'
|
||||
assert "$output" !~ '--build-arg NEWSECRET=<VALUE>'
|
||||
|
||||
# case should similarly honor globally declated args
|
||||
# case should similarly honor globally declared args
|
||||
cat > $mytmpdir/Containerfile << _EOF
|
||||
ARG SECRET="Itismysecret"
|
||||
FROM alpine
|
||||
|
|
|
|||
Loading…
Reference in New Issue