Skip to content

Commit 9c82772

Browse files
committed
Fixes from make codespell
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
1 parent 544c315 commit 9c82772

File tree

21 files changed

+27
-27
lines changed

21 files changed

+27
-27
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ err_if_empty = $(if $(strip $($(1))),$(strip $($(1))),$(error Required variable
149149

150150
# Podman does not work w/o CGO_ENABLED, except in some very specific cases
151151
CGO_ENABLED ?= 1
152-
# Default to the native OS type and archetecture unless otherwise specified
152+
# Default to the native OS type and architecture unless otherwise specified
153153
GOOS ?= $(shell $(GO) env GOOS)
154154
ifeq ($(call err_if_empty,GOOS),windows)
155155
BINSFX := .exe
@@ -255,7 +255,7 @@ test/goecho/goecho: .gopathok $(wildcard test/goecho/*.go)
255255

256256
.PHONY: codespell
257257
codespell:
258-
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
258+
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,ether -w
259259

260260
.PHONY: validate
261261
validate: gofmt lint .gitvalidation validate.completions man-page-check swagger-check tests-included

RELEASE_PROCESS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ spelled with complete minutiae.
196196
1. Merge the PR (or ask someone else to review and merge, to be safer).
197197
1. **Note:** This is the last point where any test-failures can be addressed
198198
by code changes. After pushing the new version-tag upstream, no further
199-
changes can be made to the code without lots of unpleasent efforts. Please
199+
changes can be made to the code without lots of unpleasant efforts. Please
200200
seek assistance if needed, before proceeding.
201201

202202
1. Assuming the "Bump to ..." PR merged successfully, and you're **really**

cmd/podman/machine/stop.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ func init() {
3030
})
3131
}
3232

33-
// TODO Name shouldnt be required, need to create a default vm
33+
// TODO Name shouldn't be required, need to create a default vm
3434
func stop(cmd *cobra.Command, args []string) error {
3535
var (
3636
err error

completions/powershell/podman-remote.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ Register-ArgumentCompleter -CommandName 'podman-remote' -ScriptBlock {
161161

162162
$Values | ForEach-Object {
163163

164-
# store temporay because switch will overwrite $_
164+
# store temporary because switch will overwrite $_
165165
$comp = $_
166166

167167
# PowerShell supports three different completion modes
@@ -216,7 +216,7 @@ Register-ArgumentCompleter -CommandName 'podman-remote' -ScriptBlock {
216216
Default {
217217
# Like MenuComplete but we don't want to add a space here because
218218
# the user need to press space anyway to get the completion.
219-
# Description will not be shown because thats not possible with TabCompleteNext
219+
# Description will not be shown because that's not possible with TabCompleteNext
220220
[System.Management.Automation.CompletionResult]::new($($comp.Name | __podman-remote_escapeStringWithSpecialChars), "$($comp.Name)", 'ParameterValue', "$($comp.Description)")
221221
}
222222
}

completions/powershell/podman.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ Register-ArgumentCompleter -CommandName 'podman' -ScriptBlock {
161161

162162
$Values | ForEach-Object {
163163

164-
# store temporay because switch will overwrite $_
164+
# store temporary because switch will overwrite $_
165165
$comp = $_
166166

167167
# PowerShell supports three different completion modes
@@ -216,7 +216,7 @@ Register-ArgumentCompleter -CommandName 'podman' -ScriptBlock {
216216
Default {
217217
# Like MenuComplete but we don't want to add a space here because
218218
# the user need to press space anyway to get the completion.
219-
# Description will not be shown because thats not possible with TabCompleteNext
219+
# Description will not be shown because that's not possible with TabCompleteNext
220220
[System.Management.Automation.CompletionResult]::new($($comp.Name | __podman_escapeStringWithSpecialChars), "$($comp.Name)", 'ParameterValue', "$($comp.Description)")
221221
}
222222
}

contrib/cirrus/runner.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ logformatter() {
277277
|& awk --file "${CIRRUS_WORKING_DIR}/${SCRIPT_BASE}/timestamp.awk" \
278278
|& "${CIRRUS_WORKING_DIR}/${SCRIPT_BASE}/logformatter" "$output_name"
279279
else
280-
# Assume script is run by a human, they want output immediatly
280+
# Assume script is run by a human, they want output immediately
281281
cat -
282282
fi
283283
}

docs/remote-docs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ PLATFORM=$1 ## linux, windows or darwin
66
TARGET=${2} ## where to output files
77
SOURCES=${@:3} ## directories to find markdown files
88

9-
# Overriden for testing. Native podman-remote binary expected filepaths
9+
# Overridden for testing. Native podman-remote binary expected filepaths
1010
if [[ -z "$PODMAN" ]]; then
1111
case $(env -i HOME=$HOME PATH=$PATH go env GOOS) in
1212
windows)

docs/source/markdown/podman-secret-create.1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ A secret is a blob of sensitive data which a container needs at runtime but
1616
should not be stored in the image or in source control, such as usernames and passwords,
1717
TLS certificates and keys, SSH keys or other important generic strings or binary content (up to 500 kb in size).
1818

19-
Secrets will not be commited to an image with `podman commit`, and will not be in the archive created by a `podman export`
19+
Secrets will not be committed to an image with `podman commit`, and will not be in the archive created by a `podman export`
2020

2121
## OPTIONS
2222

libpod/container_internal.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1313,7 +1313,7 @@ func (c *Container) stop(timeout uint) error {
13131313
}
13141314

13151315
// We have to check stopErr *after* we lock again - otherwise, we have a
1316-
// change of panicing on a double-unlock. Ref: GH Issue 9615
1316+
// change of panicking on a double-unlock. Ref: GH Issue 9615
13171317
if stopErr != nil {
13181318
return stopErr
13191319
}
@@ -1676,7 +1676,7 @@ func (c *Container) chownVolume(volumeName string) error {
16761676

16771677
// TODO: For now, I've disabled chowning volumes owned by non-Podman
16781678
// drivers. This may be safe, but it's really going to be a case-by-case
1679-
// thing, I think - safest to leave disabled now and reenable later if
1679+
// thing, I think - safest to leave disabled now and re-enable later if
16801680
// there is a demand.
16811681
if vol.state.NeedsChown && !vol.UsesVolumeDriver() {
16821682
vol.state.NeedsChown = false

libpod/define/fileinfo.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"time"
66
)
77

8-
// FileInfo describes the attributes of a file or diretory.
8+
// FileInfo describes the attributes of a file or directory.
99
type FileInfo struct {
1010
Name string `json:"name"`
1111
Size int64 `json:"size"`

0 commit comments

Comments
 (0)