summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2022-04-22 06:18:18 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2022-04-22 06:18:20 -0400
commite39f4495e795fa9fcbfa75a0045a6c1cbe1e4d96 (patch)
tree6e365c448eaa5faa57069bc111edd97235537cfa
parent2627345dd5b8550242033212e6481af970537510 (diff)
downloadpodman-e39f4495e795fa9fcbfa75a0045a6c1cbe1e4d96.tar.gz
podman-e39f4495e795fa9fcbfa75a0045a6c1cbe1e4d96.tar.bz2
podman-e39f4495e795fa9fcbfa75a0045a6c1cbe1e4d96.zip
Run codespell on code
[NO NEW TESTS NEEDED] Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
-rw-r--r--docs/source/markdown/podman-image-unmount.1.md2
-rw-r--r--pkg/specgen/generate/container.go2
-rw-r--r--pkg/specgen/generate/container_create.go2
-rw-r--r--test/system/090-events.bats2
4 files changed, 4 insertions, 4 deletions
diff --git a/docs/source/markdown/podman-image-unmount.1.md b/docs/source/markdown/podman-image-unmount.1.md
index f2d75f15f..394811bd4 100644
--- a/docs/source/markdown/podman-image-unmount.1.md
+++ b/docs/source/markdown/podman-image-unmount.1.md
@@ -38,7 +38,7 @@ Unmount image with a given ID
podman image unmount imageID
```
-Unmount multiple images wit given IDs
+Unmount multiple images with given IDs
```
podman image unmount imageID1 imageID2 imageID3
```
diff --git a/pkg/specgen/generate/container.go b/pkg/specgen/generate/container.go
index 5f4218899..81286b962 100644
--- a/pkg/specgen/generate/container.go
+++ b/pkg/specgen/generate/container.go
@@ -346,7 +346,7 @@ func FinishThrottleDevices(s *specgen.SpecGenerator) error {
return nil
}
-// ConfigToSpec takes a completed container config and converts it back into a specgenerator for purposes of cloning an exisiting container
+// ConfigToSpec takes a completed container config and converts it back into a specgenerator for purposes of cloning an existing container
func ConfigToSpec(rt *libpod.Runtime, specg *specgen.SpecGenerator, contaierID string) (*libpod.Container, *libpod.InfraInherit, error) {
c, err := rt.LookupContainer(contaierID)
if err != nil {
diff --git a/pkg/specgen/generate/container_create.go b/pkg/specgen/generate/container_create.go
index 5667a02e8..021b88280 100644
--- a/pkg/specgen/generate/container_create.go
+++ b/pkg/specgen/generate/container_create.go
@@ -293,7 +293,7 @@ func createContainerOptions(ctx context.Context, rt *libpod.Runtime, s *specgen.
"/usr/sbin/init": true,
"/usr/local/sbin/init": true,
}
- // Grab last command incase this is launched from a shell
+ // Grab last command in case this is launched from a shell
cmd := command
if len(command) > 2 {
// Podman build will add "/bin/sh" "-c" to
diff --git a/test/system/090-events.bats b/test/system/090-events.bats
index cac0a177c..dcbe62da7 100644
--- a/test/system/090-events.bats
+++ b/test/system/090-events.bats
@@ -172,7 +172,7 @@ EOF
[engine]
events_logger="file"
events_logfile_path="$eventsFile"
-# The limit of 4750 is the *exact* half of the inital events file.
+# The limit of 4750 is the *exact* half of the initial events file.
events_logfile_max_size=4750
EOF