mirror of
https://github.com/containers/podman.git
synced 2025-05-17 23:26:08 +08:00
Run codespell on codebase
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
2
Makefile
2
Makefile
@ -275,7 +275,7 @@ test/version/version: version/version.go
|
||||
|
||||
.PHONY: codespell
|
||||
codespell:
|
||||
codespell -S bin,vendor,.git,go.sum,.cirrus.yml,"RELEASE_NOTES.md,*.xz,*.gz,*.ps1,*.tar,swagger.yaml,*.tgz,bin2img,*ico,*.png,*.1,*.5,copyimg,*.orig,apidoc.go" -L te,clos,ans,pullrequest,uint,iff,od,seeked,splitted,marge,erro,hist,ether,specif -w
|
||||
codespell -S bin,vendor,.git,go.sum,.cirrus.yml,"RELEASE_NOTES.md,*.xz,*.gz,*.ps1,*.tar,swagger.yaml,*.tgz,bin2img,*ico,*.png,*.1,*.5,copyimg,*.orig,apidoc.go" -L hastable,te,clos,ans,pullrequest,uint,iff,od,seeked,splitted,marge,erro,hist,ether,specif -w
|
||||
|
||||
.PHONY: validate
|
||||
validate: lint .gitvalidation validate.completions man-page-check swagger-check tests-included tests-expect-exit pr-removes-fixed-skips
|
||||
|
@ -74,7 +74,7 @@ CIRRUS_REPO_NAME=${CIRRUS_REPO_NAME:-podman}
|
||||
# Cirrus only sets $CIRRUS_BASE_SHA properly for PRs, but $EPOCH_TEST_COMMIT
|
||||
# needs to be set from this value in order for `make validate` to run properly.
|
||||
# When running get_ci_vm.sh, most $CIRRUS_xyz variables are empty. Attempt
|
||||
# to accomidate both branch and get_ci_vm.sh testing by discovering the base
|
||||
# to accommodate both branch and get_ci_vm.sh testing by discovering the base
|
||||
# branch SHA value.
|
||||
# shellcheck disable=SC2154
|
||||
if [[ -z "$CIRRUS_BASE_SHA" ]] && [[ -z "$CIRRUS_TAG" ]]
|
||||
|
@ -341,7 +341,7 @@ type InspectContainerHostConfig struct {
|
||||
// DnsSearch is a list of DNS search domains that will be set in the
|
||||
// container's resolv.conf
|
||||
DnsSearch []string `json:"DnsSearch"`
|
||||
// ExtraHosts contains hosts that will be aded to the container's
|
||||
// ExtraHosts contains hosts that will be added to the container's
|
||||
// /etc/hosts.
|
||||
ExtraHosts []string `json:"ExtraHosts"`
|
||||
// GroupAdd contains groups that the user inside the container will be
|
||||
|
@ -4512,11 +4512,11 @@ type Config struct {
|
||||
APIVersion string `json:"apiVersion,omitempty"`
|
||||
// Preferences holds general information to be use for cli interactions
|
||||
Preferences Preferences `json:"preferences"`
|
||||
// Clusters is a map of referencable names to cluster configs
|
||||
// Clusters is a map of referenceable names to cluster configs
|
||||
Clusters []NamedCluster `json:"clusters"`
|
||||
// AuthInfos is a map of referencable names to user configs
|
||||
// AuthInfos is a map of referenceable names to user configs
|
||||
AuthInfos []NamedAuthInfo `json:"users"`
|
||||
// Contexts is a map of referencable names to context configs
|
||||
// Contexts is a map of referenceable names to context configs
|
||||
Contexts []NamedContext `json:"contexts"`
|
||||
// CurrentContext is the name of the context that you would like to use by default
|
||||
CurrentContext string `json:"current-context"`
|
||||
|
@ -120,7 +120,7 @@ type CanonicalValue interface {
|
||||
AsCanonicalBase1024Bytes(out []byte) ([]byte, int32)
|
||||
}
|
||||
|
||||
// Format lists the three possible formattings of a quantity.
|
||||
// Format lists the three possible formats of a quantity.
|
||||
type Format string
|
||||
|
||||
const (
|
||||
|
@ -283,7 +283,7 @@ function _log_test_follow() {
|
||||
run_podman ${events_backend} logs -f $cname
|
||||
is "$output" "$contentA
|
||||
$contentB
|
||||
$contentC" "logs -f on exitted container works"
|
||||
$contentC" "logs -f on exited container works"
|
||||
|
||||
run_podman ${events_backend} rm -t 0 -f $cname
|
||||
}
|
||||
|
Reference in New Issue
Block a user