codespell cleanup

[NO TESTS NEEDED] This is just running codespell on podman

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
Daniel J Walsh 2021-05-05 15:50:57 -04:00
parent 404bc2684e
commit 0d1ebc180e
No known key found for this signature in database
GPG Key ID: A2DF901DABE2C028
8 changed files with 9 additions and 9 deletions

View File

@ -277,7 +277,7 @@ func DefineCreateFlags(cmd *cobra.Command, cf *ContainerCLIOpts) {
createFlags.StringSliceVar( createFlags.StringSliceVar(
&cf.GroupAdd, &cf.GroupAdd,
groupAddFlagName, []string{}, groupAddFlagName, []string{},
"Add additional groups to the primary container process. 'keep-groups' allows container processes to use suplementary groups.", "Add additional groups to the primary container process. 'keep-groups' allows container processes to use supplementary groups.",
) )
_ = cmd.RegisterFlagCompletionFunc(groupAddFlagName, completion.AutocompleteNone) _ = cmd.RegisterFlagCompletionFunc(groupAddFlagName, completion.AutocompleteNone)

View File

@ -55,8 +55,8 @@ function branch_dance() {
echo echo
echo "Commit author is '$author' (expected 'dependabot')" echo "Commit author is '$author' (expected 'dependabot')"
echo -n "Continue? [y/N] " echo -n "Continue? [y/N] "
read ans read answer
case "$ans" in case "$answer" in
[yY]*) ;; [yY]*) ;;
*) exit 1;; *) exit 1;;
esac esac

View File

@ -952,7 +952,7 @@ The `container_manage_cgroup` boolean must be enabled for this to be allowed on
#### **\-\-timeout**=*seconds* #### **\-\-timeout**=*seconds*
Maximimum time a container is allowed to run before conmon sends it the kill Maximum time a container is allowed to run before conmon sends it the kill
signal. By default containers will run until they exit or are stopped by signal. By default containers will run until they exit or are stopped by
`podman stop`. `podman stop`.

View File

@ -1025,7 +1025,7 @@ setsebool -P container_manage_cgroup true
#### **\-\-timeout**=*seconds* #### **\-\-timeout**=*seconds*
Maximimum time a container is allowed to run before conmon sends it the kill Maximum time a container is allowed to run before conmon sends it the kill
signal. By default containers will run until they exit or are stopped by signal. By default containers will run until they exit or are stopped by
`podman stop`. `podman stop`.

View File

@ -301,7 +301,7 @@ type ContainerMiscConfig struct {
StopSignal uint `json:"stopSignal,omitempty"` StopSignal uint `json:"stopSignal,omitempty"`
// StopTimeout is the signal that will be used to stop the container // StopTimeout is the signal that will be used to stop the container
StopTimeout uint `json:"stopTimeout,omitempty"` StopTimeout uint `json:"stopTimeout,omitempty"`
// Timeout is maximimum time a container will run before getting the kill signal // Timeout is maximum time a container will run before getting the kill signal
Timeout uint `json:"timeout,omitempty"` Timeout uint `json:"timeout,omitempty"`
// Time container was created // Time container was created
CreatedTime time.Time `json:"createdTime"` CreatedTime time.Time `json:"createdTime"`

View File

@ -66,7 +66,7 @@ type InspectContainerConfig struct {
Secrets []*InspectSecret `json:"Secrets,omitempty"` Secrets []*InspectSecret `json:"Secrets,omitempty"`
// Timeout is time before container is killed by conmon // Timeout is time before container is killed by conmon
Timeout uint `json:"Timeout"` Timeout uint `json:"Timeout"`
// StopTimeout is time before container is stoped when calling stop // StopTimeout is time before container is stopped when calling stop
StopTimeout uint `json:"StopTimeout"` StopTimeout uint `json:"StopTimeout"`
} }

View File

@ -270,7 +270,7 @@ var _ = Describe("Podman ps", func() {
Expect(result.ExitCode()).To(Equal(0)) Expect(result.ExitCode()).To(Equal(0))
Expect(result.OutputToString()).To(Equal(cid)) Expect(result.OutputToString()).To(Equal(cid))
// Query by trunctated image name should not match ( should return empty output ) // Query by truncated image name should not match ( should return empty output )
result = podmanTest.Podman([]string{"ps", "-q", "--no-trunc", "-a", "--filter", "ancestor=quay.io/libpod/alpi"}) result = podmanTest.Podman([]string{"ps", "-q", "--no-trunc", "-a", "--filter", "ancestor=quay.io/libpod/alpi"})
result.WaitWithDefaultTimeout() result.WaitWithDefaultTimeout()
Expect(result.ExitCode()).To(Equal(0)) Expect(result.ExitCode()).To(Equal(0))

View File

@ -84,4 +84,4 @@ Where To Go From Here
* Figuring out how/if to run variations with different config files * Figuring out how/if to run variations with different config files
(e.g. running OLD-PODMAN that creates a user libpod.conf, tweaking (e.g. running OLD-PODMAN that creates a user libpod.conf, tweaking
that in the test, then running NEW-PODMAN upgrate tests) that in the test, then running NEW-PODMAN upgrade tests)