mirror of
https://github.com/containers/podman.git
synced 2025-08-06 11:32:07 +08:00
Merge pull request #8316 from rhatdan/codespell
Fix issues found with codespell
This commit is contained in:
2
Makefile
2
Makefile
@ -409,7 +409,7 @@ swagger-check:
|
||||
|
||||
.PHONY: codespell
|
||||
codespell:
|
||||
codespell -S bin,vendor,.git,go.sum,changelog.txt,.cirrus.yml,"*.xz,*.gz,*.tar,*.tgz,bin2img,*ico,*.png,*.1,*.5,copyimg,*.orig,apidoc.go" -L uint,iff,od,seeked,splitted,marge,ERRO,hist -w
|
||||
codespell -S bin,vendor,.git,go.sum,changelog.txt,.cirrus.yml,"RELEASE_NOTES.md,*.xz,*.gz,*.tar,*.tgz,bin2img,*ico,*.png,*.1,*.5,copyimg,*.orig,apidoc.go" -L uint,iff,od,seeked,splitted,marge,ERRO,hist -w
|
||||
|
||||
# When publishing releases include critical build-time details
|
||||
.PHONY: release.txt
|
||||
|
@ -51,4 +51,4 @@ If reloading the page, or clearing your local cache does not fix the problem, it
|
||||
likely caused by broken metadata needed to protect clients from cross-site-scripting
|
||||
style attacks. Please [notify a maintainer](https://github.com/containers/podman#communications)
|
||||
so they may investigate how/why the `swagger.yaml` file's CORS-metadata is
|
||||
incorrect, or the file isn't accessable for some other reason.
|
||||
incorrect, or the file isn't accessible for some other reason.
|
||||
|
@ -7,7 +7,7 @@
|
||||
# problems specifically related to Cirrus-CI automated testing. However,
|
||||
# because it's only loosely coupled to the `.cirrus.yml` configuration, it must
|
||||
# orchestrate VMs in GCP directly. This means users need to have
|
||||
# pre-authorization (access) to manipulate google-cloud resoures. Additionally,
|
||||
# pre-authorization (access) to manipulate google-cloud resources. Additionally,
|
||||
# there are no guarantees it will remain in-sync with other automation-related
|
||||
# scripts. Therefore it may not always function for everybody in every
|
||||
# future scenario without updates/modifications/tweaks.
|
||||
@ -149,7 +149,7 @@ parse_args(){
|
||||
|
||||
VM_IMAGE_NAME="$1"
|
||||
|
||||
# Word-splitting is desireable in this case
|
||||
# Word-splitting is desirable in this case
|
||||
# shellcheck disable=SC2207
|
||||
ENVS=(
|
||||
$(get_env_vars)
|
||||
@ -166,7 +166,7 @@ parse_args(){
|
||||
}
|
||||
|
||||
# Returns true if user has run an 'init' and has a valid token for
|
||||
# the specific project-id and named-configuration argumens in $PGCLOUD.
|
||||
# the specific project-id and named-configuration arguments in $PGCLOUD.
|
||||
function has_valid_credentials() {
|
||||
if $PGCLOUD info |& grep -Eq 'Account:.*None'; then
|
||||
return 1
|
||||
|
@ -285,7 +285,7 @@ var _ = Describe("Toolbox-specific testing", func() {
|
||||
var gid string = "2000"
|
||||
|
||||
// The use of bad* in the name of variables does not imply the invocation
|
||||
// of useradd should fail The user is supposed to be created successfuly
|
||||
// of useradd should fail The user is supposed to be created successfully
|
||||
// but later his information (uid, home, shell,..) is changed via usermod.
|
||||
useradd := fmt.Sprintf("useradd --home-dir %s --shell %s --uid %s %s",
|
||||
badHomeDir, badShell, badUID, username)
|
||||
|
@ -669,7 +669,7 @@ Example output might be:
|
||||
|
||||
memory pids
|
||||
|
||||
In the above example, `cpu` is not listed, which means the curent user does
|
||||
In the above example, `cpu` is not listed, which means the current user does
|
||||
not have permission to set CPU limits.
|
||||
|
||||
If you want to enable CPU limit delegation for all users, you can create the
|
||||
|
Reference in New Issue
Block a user