summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-04-22 06:34:32 -0400
committerGitHub <noreply@github.com>2022-04-22 06:34:32 -0400
commit1fcefc94f9e3e6d9dedeccc83fa3964461519b7f (patch)
tree385b66b47627aa08520d60242a9d732bf96ba57b /pkg
parent82393e256593b9c78e64d2fecf47813b6c6f1b2c (diff)
parente39f4495e795fa9fcbfa75a0045a6c1cbe1e4d96 (diff)
downloadpodman-1fcefc94f9e3e6d9dedeccc83fa3964461519b7f.tar.gz
podman-1fcefc94f9e3e6d9dedeccc83fa3964461519b7f.tar.bz2
podman-1fcefc94f9e3e6d9dedeccc83fa3964461519b7f.zip
Merge pull request #13971 from rhatdan/codespell
[CI:DOCS] Run codespell on code
Diffstat (limited to 'pkg')
-rw-r--r--pkg/specgen/generate/container.go2
-rw-r--r--pkg/specgen/generate/container_create.go2
2 files changed, 2 insertions, 2 deletions
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